Merge pull request #2620 from sevki/mac-linking
bindings/go: explicit CFLAGS and LDFLAGS for macOS and windows
This commit is contained in:
commit
d8e8d13269
|
@ -0,0 +1,5 @@
|
|||
package fdb
|
||||
|
||||
//#cgo CFLAGS: -I/usr/local/include/
|
||||
//#cgo LDFLAGS: -L/usr/local/lib/
|
||||
import "C"
|
|
@ -0,0 +1,5 @@
|
|||
package fdb
|
||||
|
||||
//#cgo CFLAGS: -I"C:/Program Files/foundationdb/include"
|
||||
//#cgo LDFLAGS: -L"C:/Program Files/foundationdb/bin" -lfdb_c
|
||||
import "C"
|
Loading…
Reference in New Issue