[EFL][WK2] EFL MiniBrowser doesn't run because shared library is not found
[WebKit-https.git] / Source / cmake / OptionsCommon.cmake
index d917153..d5c828e 100644 (file)
@@ -67,6 +67,8 @@ if (USE_LD_GOLD)
     if ("${LD_VERSION}" MATCHES "GNU gold")
         set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fuse-ld=gold")
         set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fuse-ld=gold")
+        set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--disable-new-dtags")
+        set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--disable-new-dtags")
     else ()
         message(WARNING "GNU gold linker isn't available, using the default system linker.")
     endif ()