net.openssl: add `-ldl -lpthread` for linux

pull/10123/head
Delyan Angelov 2021-05-16 08:28:36 +00:00
parent 0d44c8857e
commit 9d8489b025
1 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,10 @@ module openssl
// openssl from libssl-dev. If there is no local openssl,
// the next flag is harmless, since it will still use the
// (older) system openssl.
#flag linux -I/usr/local/include/openssl -L/usr/local/lib
#flag linux -I/usr/local/include/openssl -L/usr/local/lib
#flag windows -l libssl -l libcrypto
#flag -l ssl -l crypto
#flag -lssl -lcrypto
#flag linux -ldl -lpthread
// MacPorts
#flag darwin -I/opt/local/include
#flag darwin -L/opt/local/lib