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>
This commit is contained in:
Jan-Marek Glogowski 2021-05-22 21:42:26 +02:00
parent 29d4e83313
commit 58d5f74a7b

View file

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