X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/8e6558325dbdff4855cff5ed66235cd624d4c763..c4a54700bcca9c5b05f7277a3025b6a5ee0e4658:/openwrt/package/postgresql/Makefile diff --git a/openwrt/package/postgresql/Makefile b/openwrt/package/postgresql/Makefile index 3582a8916..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)