Fix ipkg : change configure to revert IPKG_STATE_DIR_PREFIX back to /usr/lib
authorNicolas Thill <nico@openwrt.org>
Tue, 24 May 2005 05:27:37 +0000 (05:27 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 24 May 2005 05:27:37 +0000 (05:27 +0000)
SVN-Revision: 1044

openwrt/package/ipkg/Makefile

index d68f60bb9db6e12fbd629460646c211a6c318d85..2180ee7d3c2a1e10c1c65aa06c2a740bba60e855 100644 (file)
@@ -36,8 +36,8 @@ $(PKG_BUILD_DIR)/.configured:
                  --datadir=/usr/share \
                  --includedir=/usr/include \
                  --infodir=/usr/share/info \
-                 --libdir=/lib \
-                 --libexecdir=/lib \
+                 --libdir=/usr/lib \
+                 --libexecdir=/usr/lib \
                  --localstatedir=/var \
                  --mandir=/usr/share/man \
                  --sbindir=/usr/sbin \
@@ -59,7 +59,7 @@ $(PKG_BUILD_DIR)/.built:
 $(IPKG_IPKG):
        install -d -m0755 $(IDIR_IPKG)/bin
        cp -fpR $(PKG_INSTALL_DIR)/bin/ipkg-cl $(IDIR_IPKG)/bin/ipkg
-       install -d -m0755 $(IDIR_IPKG)/lib
-       cp -fpR $(PKG_INSTALL_DIR)/lib/libipkg.so.* $(IDIR_IPKG)/lib/
+       install -d -m0755 $(IDIR_IPKG)/usr/lib
+       cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libipkg.so.* $(IDIR_IPKG)/usr/lib/
        $(RSTRIP) $(IDIR_IPKG)
        $(IPKG_BUILD) $(IDIR_IPKG) $(PACKAGE_DIR)