changeset 2143:ea0ef211bc28

package postgresql: use $(TARGET) instead of i686-pc-mingw32
author Tony Theodore <tonyt@logyst.com>
date Sun, 27 Nov 2011 06:34:29 +1100
parents 276f0c6d3cca
children 81639d3296c2
files src/postgresql.mk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/postgresql.mk	Sun Nov 27 00:45:44 2011 +1100
+++ b/src/postgresql.mk	Sun Nov 27 06:34:29 2011 +1100
@@ -46,7 +46,7 @@
         --without-libxslt \
         --with-zlib \
         --with-system-tzdata=/dev/null \
-        LIBS="-lsecur32 `'i686-pc-mingw32-pkg-config' openssl --libs`"
+        LIBS="-lsecur32 `'$(TARGET)-pkg-config' openssl --libs`"
     $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install haslibarule= shlib=
     $(MAKE) -C '$(1)'/src/port             -j '$(JOBS)'         haslibarule= shlib=
     $(MAKE) -C '$(1)'/src/bin/psql         -j '$(JOBS)' install haslibarule= shlib=