summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-10 17:17:41 +0200
committerMichael Stahl <michael.stahl@cib.de>2019-10-11 11:09:59 +0200
commitcf0a45ec68ce2eab3adae2df6d90ea02816bb1fb (patch)
treed92d8ef0fa6393ad9e1eadccdd0febbd6a927063
parent12a6e6e06a0544fea60fcf1d53a366465bce9dd5 (diff)
Pass LDFLAGS into external/postgresql
This will be needed when building against Flatpak org.freedesktop.Sdk//19.08, which no longer bundles krb5, so we will have a bundled libgssapi_krb5.so at /app/lib (instead of under /usr), but which requires LDFLAGS=-L/app/lib to be found. Change-Id: I8767740ab0cbb02b6ae682b7f0e21ec90ea5ddd7 Reviewed-on: https://gerrit.libreoffice.org/80620 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit cfd06eb99b8f366bfe96e4a6d3112e4c6057098b) Reviewed-on: https://gerrit.libreoffice.org/80633 Reviewed-by: Michael Stahl <michael.stahl@cib.de>
-rw-r--r--external/postgresql/ExternalProject_postgresql.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/postgresql/ExternalProject_postgresql.mk b/external/postgresql/ExternalProject_postgresql.mk
index fc4342c60f93..ba462a34a1a1 100644
--- a/external/postgresql/ExternalProject_postgresql.mk
+++ b/external/postgresql/ExternalProject_postgresql.mk
@@ -31,7 +31,7 @@ $(call gb_ExternalProject_get_state_target,postgresql,build) :
else
postgresql_CPPFLAGS := $(ZLIB_CFLAGS)
-postgresql_LDFLAGS :=
+postgresql_LDFLAGS := $(LDFLAGS)
ifeq ($(SYSTEM_ZLIB),)
postgresql_LDFLAGS += $(ZLIB_LIBS)