mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http openssl: on linux, prefer newer openssl installations when available
This commit is contained in:
parent
89d0b75311
commit
a0c8fa5bbc
@ -6,6 +6,13 @@ module http
|
||||
|
||||
import strings
|
||||
|
||||
// On linux, prefer a localy build openssl, because it is
|
||||
// much more likely for it to be newer, than the system
|
||||
// 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 windows -I @VROOT/thirdparty/openssl/include
|
||||
#flag darwin -I @VROOT/thirdparty/openssl/include
|
||||
#flag -l ssl -l crypto
|
||||
|
Loading…
Reference in New Issue
Block a user