execline: add static build option.
Similar to the one in the runit template. Closes: #24255 [via git-merge-pr]
This commit is contained in:
parent
f795a5ac04
commit
9a6e7db4cb
@ -17,6 +17,13 @@ checksum=a24c76f097ff44fe50b63b89bcde5d6ba9a481aecddbe88ee01b0e5a7b314556
|
|||||||
|
|
||||||
CFLAGS="-fPIC"
|
CFLAGS="-fPIC"
|
||||||
|
|
||||||
|
build_options="static"
|
||||||
|
|
||||||
|
if [ "$build_option_static" ]; then
|
||||||
|
CFLAGS+=" -static"
|
||||||
|
LDFLAGS+=" -static"
|
||||||
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
|
*-musl) makedepends+=" nsss-devel" configure_args+=" --enable-nsss" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user