Use c-gaborator global installation
This commit is contained in:
parent
147da335b6
commit
08f2e306d8
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
|||
[submodule "c-gaborator"]
|
||||
path = c-gaborator
|
||||
url = https://git.gammaspectra.live/S.O.N.G/c-gaborator
|
12
README.md
Normal file
12
README.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Goborator
|
||||
|
||||
Simple Gaborator cgo implementation.
|
||||
|
||||
Requires [c-gaborator](https://git.gammaspectra.live/S.O.N.G/c-gaborator) installed.
|
||||
```shell
|
||||
git clone https://git.gammaspectra.live/S.O.N.G/c-gaborator
|
||||
cd c-gaborator && make build && cd build
|
||||
cmake .. -DCMAKE_INSTALL_PREFIX="/usr"
|
||||
make
|
||||
sudo make install
|
||||
```
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 77ac6c1af9752d1e5afe9a826e4d155aa3a46776
|
|
@ -1,8 +1,7 @@
|
|||
package goborator
|
||||
|
||||
// #cgo CFLAGS: -I${SRCDIR}/c-gaborator
|
||||
// #cgo LDFLAGS: -L${SRCDIR}/c-gaborator/build -L${SRCDIR} -lcgaborator -lm -lstdc++
|
||||
// #include "cgaborator.h"
|
||||
// #cgo pkg-config: cgaborator
|
||||
// #include <cgaborator.h>
|
||||
import "C"
|
||||
import (
|
||||
"encoding/binary"
|
||||
|
|
BIN
libcgaborator.a
BIN
libcgaborator.a
Binary file not shown.
Loading…
Reference in a new issue