Fix build
There is no more internal function for adding general linker flags. Let's use the appropriate cmake function right away, regardless of the compiler choice. This is also how global.pri handled it. Change-Id: I20c9002a31aa4d7e64c1c59d8d67118774da337c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>bb10
parent
32d4f139c8
commit
d72b717119
|
|
@ -286,7 +286,7 @@ if (LINUX AND NOT CMAKE_CROSSCOMPILING AND BUILD_SHARED_LIBS)
|
|||
endif()
|
||||
endif()
|
||||
if (ELF_INTERPRETER)
|
||||
qt_internal_add_link_flags(Core "-Wl,-e,qt_core_boilerplate")
|
||||
target_link_options(Core PRIVATE "-Wl,-e,qt_core_boilerplate")
|
||||
target_compile_definitions(Core PRIVATE ELF_INTERPRETER="${ELF_INTERPRETER}")
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue