Ship compiled .a

This commit is contained in:
DataHoarder 2022-01-23 21:09:47 +01:00
parent 569d359771
commit 9acb142087
3 changed files with 14 additions and 1 deletions

13
build-deps.sh Executable file
View 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)

View file

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

Binary file not shown.