diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-05-12 21:55:38 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-05-12 21:55:38 +0000 |
commit | 7512db38c86bc3b4ffd33c10950359efa8dbaa2e (patch) | |
tree | 07e94df50013351ce8fcb64c190226647e6f13f9 /openwrt/package/postgresql/Makefile | |
parent | 1781e7ff9ec6182f3188cd046f013c76206244a4 (diff) | |
download | mtk-20170518-7512db38c86bc3b4ffd33c10950359efa8dbaa2e.zip mtk-20170518-7512db38c86bc3b4ffd33c10950359efa8dbaa2e.tar.gz mtk-20170518-7512db38c86bc3b4ffd33c10950359efa8dbaa2e.tar.bz2 |
fix postgresql again (it wasn't installing enough stuff into the staging dir)
SVN-Revision: 861
Diffstat (limited to 'openwrt/package/postgresql/Makefile')
-rw-r--r-- | openwrt/package/postgresql/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/openwrt/package/postgresql/Makefile b/openwrt/package/postgresql/Makefile index 5c02266..a444fdf 100644 --- a/openwrt/package/postgresql/Makefile +++ b/openwrt/package/postgresql/Makefile @@ -83,10 +83,18 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured touch $(PKG_BUILD_DIR)/.built $(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built - $(MAKE) -C "$(PKG_BUILD_DIR)" \ + $(MAKE) -C "$(PKG_BUILD_DIR)/src" \ DESTDIR="$(STAGING_DIR)" \ install-all-headers - cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib + $(MAKE) -C "$(PKG_BUILD_DIR)/src/include" \ + DESTDIR="$(STAGING_DIR)" \ + install + $(MAKE) -C "$(PKG_BUILD_DIR)/src/interfaces/libpq" \ + DESTDIR="$(STAGING_DIR)" \ + install + mkdir -p $(STAGING_DIR)/usr/lib + cp -a $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.so* $(STAGING_DIR)/usr/lib/ + cp $(PKG_BUILD_DIR)/src/interfaces/libpq/libpq.a $(STAGING_DIR)/usr/lib/ $(IPKG_LIBPQ): $(STAGING_DIR)/usr/lib/libpq.so $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_LIBPQ) ./ipkg/libpq.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) |