Ship compiled .a
This commit is contained in:
parent
569d359771
commit
9acb142087
13
build-deps.sh
Executable file
13
build-deps.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
pushd "${0%/*}"
|
||||
|
||||
pushd c-gaborator
|
||||
if [[ -d "build" ]]; then
|
||||
rm -r build
|
||||
fi
|
||||
mkdir build
|
||||
pushd build
|
||||
cmake ..
|
||||
make -j$(nproc)
|
|
@ -1,7 +1,7 @@
|
|||
package goborator
|
||||
|
||||
// #cgo CFLAGS: -I${SRCDIR}/c-gaborator
|
||||
// #cgo LDFLAGS: -L${SRCDIR}/c-gaborator/build -lcgaborator -lm -lstdc++
|
||||
// #cgo LDFLAGS: -L${SRCDIR}/c-gaborator/build -L${SRCDIR} -lcgaborator -lm -lstdc++
|
||||
// #include "cgaborator.h"
|
||||
import "C"
|
||||
import (
|
||||
|
|
BIN
libcgaborator.a
Normal file
BIN
libcgaborator.a
Normal file
Binary file not shown.
Loading…
Reference in a new issue