8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
11 lines
264 B
Bash
11 lines
264 B
Bash
addStackArgs () {
|
|
if [ -n "$(echo $1/lib/lib*)" ]; then
|
|
STACK_IN_NIX_EXTRA_ARGS+=" --extra-lib-dirs=$1/lib"
|
|
fi
|
|
|
|
if [ -d "$1/include" ]; then
|
|
STACK_IN_NIX_EXTRA_ARGS+=" --extra-include-dirs=$1/include"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$targetOffset" addStackArgs
|