# HG changeset patch # User Volker Grabsch # Date 1260124894 -3600 # Node ID 3e5503e5ed58421779863fcf9dd484232cdab192 # Parent 2b211f6c74485622480b0c3ddfb8322d8e81fe3d build static library in package postgresql diff -r 2b211f6c7448 -r 3e5503e5ed58 src/postgresql.mk --- a/src/postgresql.mk Sun Dec 06 13:06:46 2009 +0100 +++ b/src/postgresql.mk Sun Dec 06 19:41:34 2009 +0100 @@ -46,12 +46,24 @@ 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