Fix cflags/ldflags for go code
This commit is contained in:
parent
f005550213
commit
0191f73def
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue