mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
net.openssl: use a pkgconfig directive, instead of a hardcoded path (#12735)
This commit is contained in:

committed by
GitHub

parent
7bbc70820a
commit
fd4e071621
@ -5,7 +5,8 @@ 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
|
||||
#pkgconfig openssl
|
||||
#flag linux -L/usr/local/lib
|
||||
#flag windows -l libssl -l libcrypto
|
||||
#flag -lssl -lcrypto
|
||||
#flag linux -ldl -lpthread
|
||||
|
Reference in New Issue
Block a user