forked from speedie/spmenu
add option to prefer static linking
This commit is contained in:
parent
de77fb93f5
commit
cbfea029d0
6
build.sh
6
build.sh
|
@ -32,8 +32,10 @@ build() {
|
||||||
|
|
||||||
mkdir -p build/
|
mkdir -p build/
|
||||||
|
|
||||||
|
[ "$static" = "true" ] && STATIC="--prefer-static"
|
||||||
|
|
||||||
if [ "$reconfigure" = "true" ]; then
|
if [ "$reconfigure" = "true" ]; then
|
||||||
meson setup --reconfigure \
|
meson setup --reconfigure $STATIC \
|
||||||
-Dxresources="$xresources" \
|
-Dxresources="$xresources" \
|
||||||
-Dfribidi="$fribidi" \
|
-Dfribidi="$fribidi" \
|
||||||
-Dxinerama="$xinerama" \
|
-Dxinerama="$xinerama" \
|
||||||
|
@ -47,7 +49,7 @@ build() {
|
||||||
build
|
build
|
||||||
else
|
else
|
||||||
meson setup \
|
meson setup \
|
||||||
-Dxresources="$xresources" \
|
-Dxresources="$xresources" $STATIC \
|
||||||
-Dfribidi="$fribidi" \
|
-Dfribidi="$fribidi" \
|
||||||
-Dxinerama="$xinerama" \
|
-Dxinerama="$xinerama" \
|
||||||
-Dimlib2="$imlib2" \
|
-Dimlib2="$imlib2" \
|
||||||
|
|
Loading…
Reference in a new issue