Commit da4f08fb authored by Dominic Della Valle's avatar Dominic Della Valle

pass build flags on Solaris/Illumos

parent f25c826a
......@@ -16,8 +16,8 @@
package openssl
// #cgo linux windows freebsd openbsd pkg-config: libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd solaris pkg-config: libssl libcrypto
// #cgo linux freebsd openbsd solaris CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
......
......@@ -16,8 +16,8 @@
package openssl
// #cgo linux windows freebsd openbsd pkg-config: --static libssl libcrypto
// #cgo linux freebsd openbsd CFLAGS: -Wno-deprecated-declarations
// #cgo linux windows freebsd openbsd solaris pkg-config: --static libssl libcrypto
// #cgo linux freebsd openbsd solaris CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl/include -Wno-deprecated-declarations
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl@1.1/lib -L/usr/local/opt/openssl/lib -lssl -lcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment