summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-12-26 05:29:24 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-12-26 05:29:24 (GMT)
commit69eefd6a8914eee482f478884c5e821d6bdb2843 (patch)
treee0288d42de01e1923417f173d2a3228f538d7570 /src/postgresql.mk
parentd6a0f9353322cca66b8e779b72acbe8df82a130f (diff)
downloadmxe-69eefd6a8914eee482f478884c5e821d6bdb2843.zip
mxe-69eefd6a8914eee482f478884c5e821d6bdb2843.tar.gz
mxe-69eefd6a8914eee482f478884c5e821d6bdb2843.tar.bz2
package postgresql: install additional libpq headers
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 999f1b9..0a03a4e 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -51,6 +51,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install haslibarule= shlib=
$(INSTALL) -m644 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/'
$(INSTALL) -m644 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/'
+ $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/libpq'
+ $(INSTALL) -m644 '$(1)'/src/include/libpq/* '$(PREFIX)/$(TARGET)/include/libpq/'
# Build a native pg_config.
$(SED) -i 's,-DVAL_,-D_DISABLED_VAL_,g' '$(1).native'/src/bin/pg_config/Makefile
cd '$(1).native' && ./configure \