nghttp2/integration-tests/setenv.in

14 lines
342 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2016-02-13 20:04:33 +01:00
libdir="@abs_top_builddir@/lib"
if [ -d "$libdir/.libs" ]; then
libdir="$libdir/.libs"
fi
2020-11-16 09:48:31 +01:00
export CGO_CFLAGS="-I@abs_top_srcdir@/lib/includes -I@abs_top_builddir@/lib/includes @CFLAGS@"
export CGO_CPPFLAGS="@CPPFLAGS@"
export CGO_LDFLAGS="-L$libdir @LDFLAGS@"
2016-02-13 20:04:33 +01:00
export LD_LIBRARY_PATH="$libdir"
export GODEBUG=cgocheck=0
"$@"