Skip to content

Commit

Permalink
fix(Crypto): libPocoCrypto.so: undefined reference to pthread_atfork …
Browse files Browse the repository at this point in the history
…when linking statically with OpenSSL 1.1 #3073
  • Loading branch information
aleks-f committed Jun 19, 2022
1 parent dc201ad commit a843c63
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Crypto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@

include $(POCO_BASE)/build/rules/global

SYSLIBS += -lssl -lcrypto
# see https://github.com/pocoproject/poco/issues/3073
GLOBAL_SYSLIBS := $(SYSLIBS)
SYSLIBS = -lssl -lcrypto
SYSLIBS += $(GLOBAL_SYSLIBS)

objects = Cipher CipherFactory CipherImpl CipherKey CipherKeyImpl \
CryptoException CryptoStream CryptoTransform \
Expand Down

0 comments on commit a843c63

Please sign in to comment.