aboutsummaryrefslogtreecommitdiff
path: root/scripts/env.sh
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-12-06 10:12:06 -0500
committerDeterminant <ted.sybil@gmail.com>2019-12-06 10:12:06 -0500
commit5266d3a41ceb38108cedeed646902f3252cb4f53 (patch)
treea45273a29aea118d0b63e374a2b3229444e97cda /scripts/env.sh
parentb6d1796be78b1156d835f8a81efbf8cc24750520 (diff)
add setup.sh
Diffstat (limited to 'scripts/env.sh')
-rw-r--r--scripts/env.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/env.sh b/scripts/env.sh
index 318c483..2e32fd5 100644
--- a/scripts/env.sh
+++ b/scripts/env.sh
@@ -1,8 +1,9 @@
export GOPATH="$(go env GOPATH)"
export SALTICIDAE_ORG="Determinant"
+export SALTICIDAE_GO_PATH="$GOPATH/src/github.com/$SALTICIDAE_ORG/salticidae-go"
if [[ "$OSTYPE" == "linux-gnu" ]]; then
- export SALTICIDAE_PATH="$GOPATH/src/github.com/$SALTICIDAE_ORG/salticidae-go/salticidae"
+ export SALTICIDAE_PATH="$SALTICIDAE_GO_PATH/salticidae"
export CGO_CFLAGS="-I$SALTICIDAE_PATH/build/include/"
export CGO_LDFLAGS="-L$SALTICIDAE_PATH/build/lib/ -lsalticidae -luv -lssl -lcrypto -lstdc++"
elif [[ "$OSTYPE" == "darwin"* ]]; then