Browse Source

Fixed build error.

master
Jianping Wu 5 years ago
parent
commit
748987c32b
  1. 2
      cnutil/cnutil.go

2
cnutil/cnutil.go

@ -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"

Loading…
Cancel
Save