Move resource object files to the beginning of linker line in .prl files
Move collected resource objects to the beginning of the linker line to prevent order-related issues. Fixes: QTBUG-92250 Change-Id: Ia046f2820feb693bfadc2b60e07fa001638d4d7b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5174f979a3
commit
5cc3105807
@ -73,7 +73,7 @@ foreach(line ${lines})
|
||||
endif()
|
||||
endforeach()
|
||||
if(rcc_objects)
|
||||
list(APPEND adjusted_libs ${rcc_objects})
|
||||
list(PREPEND adjusted_libs ${rcc_objects})
|
||||
endif()
|
||||
list(JOIN adjusted_libs " " adjusted_libs_for_qmake)
|
||||
string(APPEND content "QMAKE_PRL_LIBS = ${adjusted_libs_for_qmake}\n")
|
||||
|
Loading…
Reference in New Issue
Block a user