1#!/bin/sh -e 2 3libdir="@abs_top_builddir@/lib" 4if [ -d "$libdir/.libs" ]; then 5 libdir="$libdir/.libs" 6fi 7 8export CGO_CFLAGS="-I@abs_top_srcdir@/lib/includes -I@abs_top_builddir@/lib/includes @CFLAGS@" 9export CGO_CPPFLAGS="@CPPFLAGS@" 10export CGO_LDFLAGS="-L$libdir @LDFLAGS@" 11export LD_LIBRARY_PATH="$libdir" 12export GODEBUG=cgocheck=0 13"$@" 14