X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e3fda164d7805b001d76de4f08df5843dc5d4f6f..1b1837b5bf0162e74d4d8068eb79bb41f26a706d:/openwrt/package/postgresql/Makefile?ds=inline diff --git a/openwrt/package/postgresql/Makefile b/openwrt/package/postgresql/Makefile index 6ed5b1634..12fbde500 100644 --- a/openwrt/package/postgresql/Makefile +++ b/openwrt/package/postgresql/Makefile @@ -87,9 +87,9 @@ $(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built install $(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so - $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) + $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) mkdir -p $(IDIR_LIBPQ)/usr/lib - cp -fp $(STAGING_DIR)/usr/lib/libpq.so.* $(IDIR_LIBPQ)/usr/lib/ + cp -fpR $(STAGING_DIR)/usr/lib/libpq.so.* $(IDIR_LIBPQ)/usr/lib/ $(STRIP) $(IDIR_LIBPQ)/usr/lib/*.so* mkdir -p $(PACKAGE_DIR) $(IPKG_BUILD) $(IDIR_LIBPQ) $(PACKAGE_DIR) @@ -97,7 +97,7 @@ $(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so $(INFO_LIBPQ): $(IPKG_LIBPQ) $(IPKG) install $(IPKG_LIBPQ) -prepare: $(PKG_BUILDPKG_SOURCE_DIR)/.prepared +prepare: $(PKG_BUILD_DIR)/.prepared compile: $(IPKG_LIBPQ) install: $(INFO_LIBPQ)