summaryrefslogtreecommitdiffstats
path: root/src/postgresql.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-12-06 19:29:12 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-12-06 19:29:12 (GMT)
commit92b60a851caec32cdd4d2acb4a7f5f95409446c6 (patch)
tree67f8fb590a10f8ac02a397cc8e10a45aea96387c /src/postgresql.mk
parent66cb924079b2703df85cfd9735711d696f45ebb7 (diff)
downloadmxe-92b60a851caec32cdd4d2acb4a7f5f95409446c6.zip
mxe-92b60a851caec32cdd4d2acb4a7f5f95409446c6.tar.gz
mxe-92b60a851caec32cdd4d2acb4a7f5f95409446c6.tar.bz2
build the psql.exe command line tool of package postgresql
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r--src/postgresql.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk
index 7b305fc..a5b5a65 100644
--- a/src/postgresql.mk
+++ b/src/postgresql.mk
@@ -62,8 +62,11 @@ define $(PKG)_BUILD
--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