mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-23 04:00:10 +00:00
new package: python-pyqtwebengine
This commit is contained in:
19
x11-packages/python-pyqtwebengine/cxx-wrapper
Normal file
19
x11-packages/python-pyqtwebengine/cxx-wrapper
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/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}
|
||||
Reference in New Issue
Block a user