# HG changeset patch # User John W. Eaton # Date 1355781839 18000 # Node ID 6301eb7d67ed0ed6b71449123f8226fa41f64f54 # Parent ff60fb78ca0304df098410c78e526ff76876d173 shared libs for postgresql diff -r ff60fb78ca03 -r 6301eb7d67ed src/postgresql.mk --- a/src/postgresql.mk Mon Dec 17 16:27:40 2012 -0500 +++ b/src/postgresql.mk Mon Dec 17 17:03:59 2012 -0500 @@ -26,7 +26,7 @@ --prefix='$(PREFIX)/$(TARGET)' \ --host='$(TARGET)' \ --build="`config.guess`" \ - $(ENABLE_SHARED_OR_STATIC) \ + --enable-shared \ --disable-rpath \ --without-tcl \ --without-perl \ @@ -44,9 +44,9 @@ --with-zlib \ --with-system-tzdata=/dev/null \ 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= + $(MAKE) -C '$(1)'/src/interfaces/libpq -j '$(JOBS)' install haslibarule= + $(MAKE) -C '$(1)'/src/port -j '$(JOBS)' haslibarule= + $(MAKE) -C '$(1)'/src/bin/psql -j '$(JOBS)' install haslibarule= $(INSTALL) -m644 '$(1)/src/include/pg_config.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m644 '$(1)/src/include/postgres_ext.h' '$(PREFIX)/$(TARGET)/include/' # Build a native pg_config.