Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #4 from djdv/build/solaris
Browse files Browse the repository at this point in the history
pass build flags on Solaris/Illumos
  • Loading branch information
Stebalien committed Dec 7, 2019
2 parents f25c826 + da4f08f commit 418fabf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions build_static.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 418fabf

Please sign in to comment.