use ldflags in sgi-webuci linking
authorFelix Fietkau <nbd@openwrt.org>
Sat, 28 Jun 2008 21:01:15 +0000 (21:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 28 Jun 2008 21:01:15 +0000 (21:01 +0000)
libs/sgi-webuci/Makefile

index fe5fbb8038babc9c7db04e089a2c8f79148513ba..c679710b67c60e90a2921da589a30e94a69594f2 100644 (file)
@@ -44,7 +44,7 @@ boa-compile: $(BOA_DIR)/.configured
 compile: boa-compile src/luci.o src/cgi.o
        mkdir -p dist/usr/bin dist/usr/lib/boa
        cp $(BOA_DIR)/src/boa $(BOA_DIR)/src/boa_indexer dist/usr/bin
-       $(LINK) $(SHLIB_FLAGS) -o dist/usr/lib/boa/luci.so src/luci.o src/cgi.o $(LUA_LIBS)
+       $(LINK) $(SHLIB_FLAGS) -o dist/usr/lib/boa/luci.so src/luci.o src/cgi.o $(LDFLAGS) $(LUA_LIBS)
 
 clean:
        rm -rf $(BOA_DIR) $(BOA_FILE)