changeset 582:6be6f016a86f

build the psql.exe command line tool of package postgresql
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 06 Dec 2009 20:29:12 +0100
parents 4483a31d18ee
children 0f2e4e754420
files src/postgresql.mk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/postgresql.mk	Sun Dec 06 19:45:00 2009 +0100
+++ b/src/postgresql.mk	Sun Dec 06 20:29:12 2009 +0100
@@ -62,8 +62,11 @@
         --without-libxml \
         --without-libxslt \
         --with-zlib \
-        --with-system-tzdata=/dev/null
+        --with-system-tzdata=/dev/null \
+        LIBS='-lsecur32'
     $(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=
     $(INSTALL) -m664 '$(1)/src/include/pg_config.h'    '$(PREFIX)/$(TARGET)/include/'
     $(INSTALL) -m664 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/'
 endef