summaryrefslogtreecommitdiff
path: root/RepositoryExternal.mk
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2021-05-22 21:42:26 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-05-25 18:07:41 +0200
commit58d5f74a7b8634919d4842e623c582c570997952 (patch)
treeb8501a9f35dd86fe1713eecd479575be6a533b0b /RepositoryExternal.mk
parent29d4e83313de5ac75712f7598dc341664601d6cf (diff)
postgres: fix internal linking with WITH_GSSAPI
Change-Id: If5a741cfe5863d0cad09463ba7e958ac0f3bb24d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116108 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r--RepositoryExternal.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 224fd7526bec..a45ffa35613d 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -3092,19 +3092,20 @@ $(call gb_LinkTarget_add_libs,$(1),\
$(call gb_UnpackedTarball_get_dir,postgresql)/$(gb_MSBUILD_CONFIG)/libpq/libpq.lib \
)
-else # WNT
+else # !WNT
$(call gb_LinkTarget_add_libs,$(1),\
$(call gb_UnpackedTarball_get_dir,postgresql)/src/interfaces/libpq/libpq$(gb_StaticLibrary_PLAINEXT) \
$(call gb_UnpackedTarball_get_dir,postgresql)/src/common/libpgcommon$(gb_StaticLibrary_PLAINEXT) \
$(call gb_UnpackedTarball_get_dir,postgresql)/src/port/libpgport$(gb_StaticLibrary_PLAINEXT) \
+ $(if $(WITH_GSSAPI),$(GSSAPI_LIBS)) \
)
-endif # WNT
+endif # !WNT
-endef
+endef # gb_LinkTarget__use_postgresql
-endif # SYSTEM_POSTGRESQL
+endif # !SYSTEM_POSTGRESQL
ifeq ($(ENABLE_KF5),TRUE)