summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2014-07-01 21:46:39 (GMT)
committerTimothy Gu <timothygu99@gmail.com>2014-07-01 22:09:20 (GMT)
commit4dd67224dca7762d92d3eed3a7bbbe079a7c0310 (patch)
tree91df775b995a9d1c35a5b2fe9d7d0b35fd11b0ed /src/postgresql.mk
parent0bbe05a8dfa069749b8c965616ed2240c4f873fe (diff)
downloadmxe-4dd67224dca7762d92d3eed3a7bbbe079a7c0310.zip
mxe-4dd67224dca7762d92d3eed3a7bbbe079a7c0310.tar.gz
mxe-4dd67224dca7762d92d3eed3a7bbbe079a7c0310.tar.bz2
postgresql: fix shared lib install path
Also adds a patch that makes the `shlib= haslibarule=no` unnecessary. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 3029e8c..8ac6f86 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -43,9 +43,9 @@ define $(PKG)_BUILD
--with-system-tzdata=/dev/null \
LIBS="-lsecur32 `'$(TARGET)-pkg-config' openssl --libs`" \
ac_cv_func_getaddrinfo=no
- $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install $(if $(BUILD_STATIC),haslibarule= shlib=)
- $(MAKE) -C '$(1)'/src/port -j '$(JOBS)' $(if $(BUILD_STATIC),haslibarule= shlib=)
- $(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install $(if $(BUILD_STATIC),haslibarule= shlib=)
+ $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install
+ $(MAKE) -C '$(1)'/src/port -j '$(JOBS)'
+ $(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install
$(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'