Skip to content

Commit 9d8489b

Browse files
committed
net.openssl: add -ldl -lpthread for linux
1 parent 0d44c88 commit 9d8489b

File tree

1 file changed

+3
-2
lines changed
  • vlib/net/openssl

1 file changed

+3
-2
lines changed

vlib/net/openssl/c.v

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ module openssl
55
// openssl from libssl-dev. If there is no local openssl,
66
// the next flag is harmless, since it will still use the
77
// (older) system openssl.
8-
#flag linux -I/usr/local/include/openssl -L/usr/local/lib
8+
#flag linux -I/usr/local/include/openssl -L/usr/local/lib
99
#flag windows -l libssl -l libcrypto
10-
#flag -l ssl -l crypto
10+
#flag -lssl -lcrypto
11+
#flag linux -ldl -lpthread
1112
// MacPorts
1213
#flag darwin -I/opt/local/include
1314
#flag darwin -L/opt/local/lib

0 commit comments

Comments
 (0)