diff --git a/x11-packages/qt5-base/qt-everywhere-src-5.11.2_qtbase_mkspecs_termux_qmake.conf.patch b/x11-packages/qt5-base/qt-everywhere-src-5.11.2_qtbase_mkspecs_termux_qmake.conf.patch index 90d5cddfe..e643c14ca 100644 --- a/x11-packages/qt5-base/qt-everywhere-src-5.11.2_qtbase_mkspecs_termux_qmake.conf.patch +++ b/x11-packages/qt5-base/qt-everywhere-src-5.11.2_qtbase_mkspecs_termux_qmake.conf.patch @@ -22,8 +22,8 @@ diff -uNr qt-everywhere-src-5.11.2/qtbase/mkspecs/termux/qmake.conf qt-everywher +QMAKE_PKG_CONFIG = pkg-config +QMAKE_STRIP = strip + -+QMAKE_CFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support -Oz -+QMAKE_CXXFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support -Oz ++QMAKE_CFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support ++QMAKE_CXXFLAGS += -I/data/data/com.termux/files/usr/include -isystem /data/data/com.termux/files/usr/include/libandroid-support +QMAKE_LFLAGS += -L/data/data/com.termux/files/usr/lib -landroid-support +QMAKE_LFLAGS_SHLIB += -shared +QMAKE_LFLAGS_PLUGIN += -shared