Fix cflags/ldflags for go code

This commit is contained in:
J. Ayo Akinyele 2019-09-03 16:58:05 +02:00 committed by Gijs Van Laer
parent f005550213
commit 0191f73def
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
package _go
// #cgo darwin CFLAGS: -D LIBSOLV_INTERNAL -I /Library/Developer/CommandLineTools/usr/include/c++/v1 -I ../include -D LD_LIBRARY_PATH=./target/release/
// #cgo darwin LDFLAGS: -L ./target/release/ -llibbolt
// #cgo darwin CFLAGS: -I ../include -D LD_LIBRARY_PATH=../target/release
// #cgo darwin LDFLAGS: -L ../target/release/ -lbolt
// #include <libbolt.h>
import "C"
func main() {
C.ffishim_bidirectional_channel_setup("testChannel", 0)
}
}