mirror of
https://github.com/jorisvink/kore
synced 2025-03-08 19:19:02 -05: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
|
||||
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
|
||||
python3-config $1 --embed
|
||||
$BIN $1 --embed
|
||||
else
|
||||
python3-config $1
|
||||
$BIN $1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user