mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-12 04:29:43 +00:00
20 lines
333 B
Plaintext
20 lines
333 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
shared=
|
||
|
for f in "$@"; do
|
||
|
case "${f}" in
|
||
|
-shared )
|
||
|
shared=true
|
||
|
;;
|
||
|
esac
|
||
|
done
|
||
|
|
||
|
includes=
|
||
|
libs=
|
||
|
if test "${shared}"; then
|
||
|
libs="-L@TERMUX_PREFIX@/lib -lpython@PYTHON_VERSION@"
|
||
|
else
|
||
|
includes="-I@TERMUX_PREFIX@/include/QtPrintSupport -I@TERMUX_PREFIX@/include/QtWebChannel"
|
||
|
fi
|
||
|
exec @CXX@ "$@" ${includes} ${libs}
|