diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-12-06 18:41:34 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-12-06 18:41:34 (GMT) |
commit | 4abd56cd02a375cb1eae55ea652a7ebe445ebcdb (patch) | |
tree | 189060e883673ddb24d0d8beda8526fef68f51b9 /src/postgresql.mk | |
parent | a1210b265d7a18856333efc76a3ecb0782b8535b (diff) | |
download | mxe-4abd56cd02a375cb1eae55ea652a7ebe445ebcdb.zip mxe-4abd56cd02a375cb1eae55ea652a7ebe445ebcdb.tar.gz mxe-4abd56cd02a375cb1eae55ea652a7ebe445ebcdb.tar.bz2 |
build static library in package postgresql
Diffstat (limited to 'src/postgresql.mk')
-rw-r--r-- | src/postgresql.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/postgresql.mk b/src/postgresql.mk index c9e02d2..d5036f7 100644 --- a/src/postgresql.mk +++ b/src/postgresql.mk @@ -46,12 +46,24 @@ define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ + --disable-shared \ --disable-rpath \ + --without-tcl \ + --without-perl \ + --without-python \ + --without-gssapi \ + --without-krb5 \ + --without-pam \ + --without-ldap \ + --without-bonjour \ + --without-openssl \ --without-readline \ + --without-ossp-uuid \ + --without-libxml \ + --without-libxslt \ --with-zlib \ --with-system-tzdata=/dev/null - $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' - $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install enable_shared=no + $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' haslibarule= shlib= install $(INSTALL) -m664 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m664 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' endef |