1
0
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:
Jordan Bonecutter
2021-12-07 12:11:47 -08:00
committed by GitHub
parent 7bbc70820a
commit fd4e071621
2 changed files with 4 additions and 1 deletions

View File

@ -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