summaryrefslogtreecommitdiff
path: root/external/postgresql/ExternalProject_postgresql.mk
diff options
context:
space:
mode:
Diffstat (limited to 'external/postgresql/ExternalProject_postgresql.mk')
-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 2d360134e6ba..e73a1c19f789 100644
--- a/external/postgresql/ExternalProject_postgresql.mk
+++ b/external/postgresql/ExternalProject_postgresql.mk
@@ -43,7 +43,7 @@ endif
ifeq ($(DISABLE_OPENSSL),)
ifeq ($(SYSTEM_OPENSSL),)
postgresql_CPPFLAGS += -I$(call gb_UnpackedTarball_get_dir,openssl)/include
-postgresql_LDFLAGS += -L$(call gb_UnpackedTarball_get_dir,openssl)/
+postgresql_LDFLAGS += -L$(call gb_UnpackedTarball_get_dir,openssl)/ $(if $(filter $(OS),LINUX),-pthread)
endif
endif