mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 04:29:02 -04:00
allow override of python3-config.
This commit is contained in:
parent
369fc4fa01
commit
6ccae503ae
@ -5,10 +5,16 @@ if [ $# -ne 1 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3-config $1 --embed > /dev/null 2>&1
|
if [ ! -z "$PYTHON_CONFIG" ]; then
|
||||||
|
BIN=$PYTHON_CONFIG
|
||||||
|
else
|
||||||
|
BIN=python3-config
|
||||||
|
fi
|
||||||
|
|
||||||
|
$BIN $1 --embed > /dev/null 2>&1
|
||||||
|
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
python3-config $1 --embed
|
$BIN $1 --embed
|
||||||
else
|
else
|
||||||
python3-config $1
|
$BIN $1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user