git2go/script/with-static.sh

10 lines
149 B
Bash
Executable File

#!/bin/sh
set -ex
export INSTALL_LOCATION=$PWD/vendor/install
export PKG_CONFIG_PATH=$INSTALL_LOCATION/lib/pkgconfig
export CGO_LDFLAGS='-lrt'
$@