luci-mod-admin-full: fix luci-bwc compilation
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 11 Jan 2015 15:22:12 +0000 (16:22 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 11 Jan 2015 15:22:20 +0000 (16:22 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-mod-admin-full/src/Makefile

index 47045fc5c4b650fb8a6d0eee603f2bb38aed5f05..d6ed8c6e4676813ce8d2c730ffc8e525188f959e 100644 (file)
@@ -5,7 +5,7 @@ clean:
        rm -f luci-bwc *.o
 
 luci-bwc: luci-bwc.o
-       $(CC) $(LDFLAGS) -shared -o $@ $^
+       $(CC) $(LDFLAGS) -o $@ $^ -ldl
 
 compile: luci-bwc