From 4dd7010c007c89497b0b684ee4dbf699c2be1ee4 Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Mon, 25 Mar 2013 21:27:10 -0400 Subject: don't build postgresql just to parse the makefiles When running module-deps.pl postgresql gets built just so that libpq-flags.mk can be included. Since we already have all the necessary libraries, add them explicitly and avoid this. Change-Id: Icd94fc215ecb26c95f9ae3c14625bf819bf3c5c3 --- connectivity/Library_postgresql-sdbc-impl.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'connectivity/Library_postgresql-sdbc-impl.mk') diff --git a/connectivity/Library_postgresql-sdbc-impl.mk b/connectivity/Library_postgresql-sdbc-impl.mk index 37c40746c7cf..d733f01662ea 100644 --- a/connectivity/Library_postgresql-sdbc-impl.mk +++ b/connectivity/Library_postgresql-sdbc-impl.mk @@ -60,18 +60,21 @@ endif $(eval $(call gb_Library_use_externals,postgresql-sdbc-impl,\ boost_headers \ postgresql \ + openssl \ + openldap \ + nss3 \ + plc4 \ + ssl3 \ )) ifneq ($(SYSTEM_POSTGRESQL),YES) ifneq ($(OS)$(COM),WNTMSC) --include $(OUTDIR)/inc/postgresql/libpq-flags.mk - $(eval $(call gb_Library_add_libs,postgresql-sdbc-impl,\ - $(if $(filter-out MACOSX,$(OS)),-Wl$(COMMA)--as-needed) \ - $(LIBPQ_DEP_LIBS) \ + $(if $(filter YES,$(WITH_GSSAPI)),$(GSSAPI_LIBS)) \ + $(if $(filter YES,$(WITH_KRB5)),$(KRB5_LIBS)) \ $(if $(filter-out MACOSX,$(OS)),-ldl) \ - $(if $(filter-out MACOSX,$(OS)),-Wl$(COMMA)--no-as-needed) \ + $(if $(filter-out MACOSX,$(OS)),-lpthread) \ )) endif -- cgit