aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-10 15:06:24 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-10 15:06:24 +0000
commitb75c4c79d1fb2dfe9f95e54493d0a0e9b4617f4e (patch)
tree8d3b1a8c24796fae96adf155c9da27ec5f0ae16a
parent2d979da3c179c1bf36642da98a9261a9bb29f930 (diff)
downloadupstream-b75c4c79d1fb2dfe9f95e54493d0a0e9b4617f4e.tar.gz
upstream-b75c4c79d1fb2dfe9f95e54493d0a0e9b4617f4e.tar.bz2
upstream-b75c4c79d1fb2dfe9f95e54493d0a0e9b4617f4e.zip
Add some missing headers to STAGING_DIR, required to build php4 extension
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1399 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/postgresql/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/openwrt/package/postgresql/Makefile b/openwrt/package/postgresql/Makefile
index de021ba35b2..1f37bb75278 100644
--- a/openwrt/package/postgresql/Makefile
+++ b/openwrt/package/postgresql/Makefile
@@ -95,6 +95,7 @@ $(IPKG_PGSQL_CLI):
$(STAGING_DIR)/usr/lib/libpq.so: $(PKG_BUILD_DIR)/.built
mkdir -p $(STAGING_DIR)/usr/include
+ cp -fpR $(PKG_INSTALL_DIR)/usr/include/libpq $(STAGING_DIR)/usr/include/
cp -fpR $(PKG_INSTALL_DIR)/usr/include/libpq-fe.h $(STAGING_DIR)/usr/include/
cp -fpR $(PKG_INSTALL_DIR)/usr/include/postgres_ext.h $(STAGING_DIR)/usr/include/
cp -fpR $(PKG_INSTALL_DIR)/usr/include/postgresql $(STAGING_DIR)/usr/include/
@@ -106,6 +107,7 @@ install-dev: $(STAGING_DIR)/usr/lib/libpq.so
uninstall-dev:
rm -rf \
+ $(STAGING_DIR)/usr/include/libpq \
$(STAGING_DIR)/usr/include/libpq-fe.h \
$(STAGING_DIR)/usr/include/postgres_ext.h \
$(STAGING_DIR)/usr/include/postgresql \