|
|
|
@ -1,7 +1,7 @@
@@ -1,7 +1,7 @@
|
|
|
|
|
package cnutil |
|
|
|
|
|
|
|
|
|
// #cgo CFLAGS: -std=c11 -D_GNU_SOURCE
|
|
|
|
|
// #cgo LDFLAGS: -L${SRCDIR} -Wl,-rpath=\$ORIGIN/cnutil -lcnutil -Wl,-rpath ${SRCDIR} -lstdc++
|
|
|
|
|
// #cgo LDFLAGS: -L${SRCDIR}/../build/cnutil -Wl,-rpath=\$ORIGIN/cnutil -lcnutil -Wl,-rpath ${SRCDIR} -lstdc++
|
|
|
|
|
// #include <stdlib.h>
|
|
|
|
|
// #include "src/cnutil.h"
|
|
|
|
|
import "C" |
|
|
|
|