mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 07:50:02 +00:00
13 lines
290 B
Bash
13 lines
290 B
Bash
#!/bin/sh -e
|
|
|
|
libdir="@abs_top_builddir@/lib"
|
|
if [ -d "$libdir/.libs" ]; then
|
|
libdir="$libdir/.libs"
|
|
fi
|
|
|
|
export CGO_CFLAGS="-I@abs_top_srcdir@/lib/includes -I@abs_top_builddir@/lib/includes"
|
|
export CGO_LDFLAGS="-L$libdir"
|
|
export LD_LIBRARY_PATH="$libdir"
|
|
export GODEBUG=cgocheck=0
|
|
"$@"
|