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. Pick-to: 6.4 Change-Id: I5051e6b2e0a8daae5f7e269ed8980df99ecaa192 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
8a11f16dc0
commit
c083cf9309
|
|
@ -1091,7 +1091,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…
Reference in New Issue