Core: always link with CMAKE_DL_LIBS
`dlopen` feature is used in qlibraryinfo.cpp without `library` feature. Change condition that adds libdl library to make sure that we can build without `library` feature. Change-Id: I5051e6b2e0a8daae5f7e269ed8980df99ecaa192 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit c083cf9309a152d8d119e6ff26693b098189322e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0ff4e7d4a3
commit
31e31b6fb0
@ -1049,7 +1049,7 @@ qt_internal_extend_target(Core CONDITION QT_FEATURE_library AND UNIX AND NOT APP
|
||||
plugin/qlibrary_unix.cpp
|
||||
)
|
||||
|
||||
qt_internal_extend_target(Core CONDITION QT_FEATURE_dlopen AND QT_FEATURE_library
|
||||
qt_internal_extend_target(Core CONDITION QT_FEATURE_dlopen
|
||||
LIBRARIES
|
||||
${CMAKE_DL_LIBS}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user