Remove the cmake magic to create bridge.go from bridge.go.in.

The bridge.go now just assumes that the library you want is built in the build/ directory. It's probably a lot better idea than using wherever the latest build was; this way the same build is always used for the library.
This commit is contained in:
Veikko Sariola
2020-10-23 00:04:54 +03:00
parent 163af33c9b
commit c9e8000c5f
5 changed files with 6 additions and 29 deletions

View File

@ -3,8 +3,8 @@ package bridge
import "fmt"
import "unsafe"
// #cgo CFLAGS: -I${INCLUDE_PATH}
// #cgo LDFLAGS: ${LIBRARY_PATH}
// #cgo CFLAGS: -I"${SRCDIR}/../include"
// #cgo LDFLAGS: "${SRCDIR}/../build/src/libsointu.a"
// #include <sointu.h>
import "C"