Skip to content

Commit

Permalink
add flags to work with homebrew openssl by default
Browse files Browse the repository at this point in the history
Change-Id: I1599b4585850d81d4bc43dc067321af15ad3fafd
  • Loading branch information
Jeff Wendling authored and jtolio committed Mar 2, 2017
1 parent 90498e1 commit fd0849e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ package openssl

// #cgo pkg-config: libssl libcrypto
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
// #cgo darwin CFLAGS: -Wno-deprecated-declarations
// #cgo darwin CFLAGS: -Wno-deprecated-declarations -I/usr/local/opt/openssl/include
// #cgo darwin LDFLAGS: -L/usr/local/opt/openssl/lib
import "C"

0 comments on commit fd0849e

Please sign in to comment.