Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:raulgs:gtk2_win
mingw32-libqt5-qtbase
0001-Add-qmake-variable-QMAKE_LIBS_POST-to-be-a...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Add-qmake-variable-QMAKE_LIBS_POST-to-be-able-to-appen.patch of Package mingw32-libqt5-qtbase
From 1b803131a2716d9b4d9732eacfaa0c713fb41ba5 Mon Sep 17 00:00:00 2001 From: Ralf Habacker <ralf.habacker@freenet.de> Date: Tue, 1 Aug 2017 13:00:13 +0200 Subject: [PATCH] Add qmake variable QMAKE_LIBS_POST to be able to append libraries at the end of the link line. Change-Id: I65cbadd6a523e49ec34409f7d554c0fbe9b254b5 --- qmake/generators/win32/mingw_make.cpp | 3 ++- qmake/generators/win32/winmakefile.cpp | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) --- a/qmake/generators/win32/mingw_make.cpp 2024-02-12 16:21:33.884585675 +0000 +++ b/qmake/generators/win32/mingw_make.cpp 2024-02-12 16:22:46.432347447 +0000 @@ -221,7 +221,8 @@ << fixLibFlags("LIBS").join(' ') << ' ' << fixLibFlags("LIBS_PRIVATE").join(' ') << ' ' << fixLibFlags("QMAKE_LIBS").join(' ') << ' ' - << fixLibFlags("QMAKE_LIBS_PRIVATE").join(' ') << Qt::endl; + << fixLibFlags("QMAKE_LIBS_PRIVATE").join(' ') << ' ' + << fixLibFlags("QMAKE_LIBS_POST").join(' ') << Qt::endl; } } --- a/qmake/generators/win32/winmakefile.cpp 2024-02-12 16:23:05.840283768 +0000 +++ b/qmake/generators/win32/winmakefile.cpp 2024-02-12 16:25:08.187882352 +0000 @@ -107,7 +107,7 @@ for (const ProString &dlib : project->values("QMAKE_DEFAULT_LIBDIRS")) dirs.append(LibrarySearchPath(dlib.toQString(), true)); static const char * const lflags[] = { "LIBS", "LIBS_PRIVATE", - "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", nullptr }; + "QMAKE_LIBS", "QMAKE_LIBS_PRIVATE", "QMAKE_LIBS_POST", nullptr }; for (int i = 0; lflags[i]; i++) { ProStringList &l = project->values(lflags[i]); for (ProStringList::Iterator it = l.begin(); it != l.end();) { @@ -665,7 +665,8 @@ t << "LIBS = " << fixLibFlags("LIBS").join(' ') << ' ' << fixLibFlags("LIBS_PRIVATE").join(' ') << ' ' << fixLibFlags("QMAKE_LIBS").join(' ') << ' ' - << fixLibFlags("QMAKE_LIBS_PRIVATE").join(' ') << Qt::endl; + << fixLibFlags("QMAKE_LIBS_PRIVATE").join(' ') << ' ' + << fixLibFlags("QMAKE_LIBS_POST").join(' ') << Qt::endl; } } -- 1.8.4.5
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor