0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-09-22 08:31:32 +00:00
termux-packages/x11-packages/qt5-qtbase/lld-16.patch
2023-11-15 00:33:22 +08:00

20 lines
949 B
Diff

https://github.com/OpenMandrivaAssociation/qt5-qtbase/blob/afde237639c2972a3d04d5edeb7c5075606a358d/qt-5.15.8-lld-16.patch
--- qtbase-everywhere-src-5.15.8/mkspecs/features/qt_module.prf
+++ qtbase-everywhere-src-5.15.8/mkspecs/features/qt_module.prf
@@ -236,12 +236,14 @@ android: CONFIG += qt_android_deps no_li
isEmpty(QT_NAMESPACE): tag_symbol = qt_version_tag
else: tag_symbol = qt_version_tag_$$QT_NAMESPACE
+ contains(TARGET, .*Core.*) {
for(i, 0..$$QT_MINOR_VERSION) {
previous = $$current
current = Qt_$${QT_MAJOR_VERSION}.$$i
equals(i, $$QT_MINOR_VERSION): verscript_content += "$$current { $$tag_symbol; } $$previous;"
else: verscript_content += "$$current {} $$previous;"
}
+ }
# Add a post-processing step to replace the @FILE:filename@
verscript_in = $${verscript}.in