]> pilppa.com Git - uci.git/commitdiff
create missing lib dir on installation
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Apr 2009 02:53:20 +0000 (04:53 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 11 Apr 2009 02:53:20 +0000 (04:53 +0200)
Makefile

index 6531df44eaf2f7f8880bf0f54ffd93559dc77ab6..cbdf08e4bdca7590998176dc20577a1a48aaa03a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ install-dev: all
        $(INSTALL) -m0644 uci_config.h uci.h uci_list.h ucimap.h $(DESTDIR)$(prefix)/include/
 
 install-bin: all
+       $(MKDIR) -p $(DESTDIR)$(prefix)/lib
        $(INSTALL) -m0755 $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/
        ln -sf $(SHLIB_FILE) $(DESTDIR)$(prefix)/lib/libuci.$(SHLIB_EXT)
        $(MKDIR) -p $(DESTDIR)$(prefix)/bin