This is an automated email from the ASF dual-hosted git repository.
ardovm pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git
The following commit(s) were added to refs/heads/trunk by this push:
new 95939a2635 Link pthread library when using OpenSSL on Linux
95939a2635 is described below
commit 95939a26356f341e97d0de3d21b2801069bc4f6a
Author: Arrigo Marchiori <[email protected]>
AuthorDate: Fri Mar 29 20:34:29 2024 +0100
Link pthread library when using OpenSSL on Linux
Restores compilation on current openSUSE.
---
main/RepositoryExternal.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/main/RepositoryExternal.mk b/main/RepositoryExternal.mk
index afc4420ba1..25e30fb7f1 100644
--- a/main/RepositoryExternal.mk
+++ b/main/RepositoryExternal.mk
@@ -390,6 +390,11 @@ $(call gb_LinkTarget_add_libs,$(1),\
-lsocket \
)
endif
+ifeq ($(OS),LINUX)
+$(call gb_LinkTarget_add_linked_libs,$(1),\
+ pthread \
+)
+endif
endif
endef