]> pilppa.org Git - uci.git/commitdiff
add missing lib flags for ucimap-example
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Aug 2009 14:36:45 +0000 (16:36 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 30 Aug 2009 14:36:45 +0000 (16:36 +0200)
Makefile

index 64e20d30ba7b11a9fa92c379fafbc8f7c2b809f1..40f28ef3054c4a97d6de624ca023be1696a017b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ libuci.$(SHLIB_EXT): libuci-shared.o
        ln -sf $(SHLIB_FILE) $@
 
 ucimap-example: ucimap-example.c libuci.a libucimap.a
-       $(CC) $(CFLAGS) -I. -o $@ $^
+       $(CC) $(CFLAGS) -I. -o $@ $^ $(LIBS)
 
 clean:
        rm -f uci uci-static *.[oa] *.so* *.dylib* uci_config.h ucimap-example