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>
This commit is contained in:
Stephan Bergmann 2019-10-10 17:17:41 +02:00
parent 609cbacc0e
commit cfd06eb99b

View file

@ -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)