From: Jihoon Kim Date: Tue, 12 May 2020 02:30:15 +0000 (+0900) Subject: Fix wrong CMAKE grammer related to linker X-Git-Tag: accepted/tizen/unified/20200528.132905~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F233069%2F2;p=platform%2Fcore%2Fuifw%2Fautofill.git Fix wrong CMAKE grammer related to linker Change-Id: I7837f49623df630dc371464be73b7641581ccd61 Signed-off-by: Jihoon Kim --- diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 0f2063d..3bfb40a 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -72,7 +72,7 @@ ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DTIZEN_DEBUG") -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") +SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") aux_source_directory(. SOURCES) ADD_LIBRARY(${fw_name} SHARED ${SOURCES}) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 2cfe2ac..0364d73 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -72,7 +72,7 @@ ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DTIZEN_DEBUG") -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") +SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") aux_source_directory(. SOURCES) ADD_LIBRARY(${fw_name} SHARED ${SOURCES}) diff --git a/manager/CMakeLists.txt b/manager/CMakeLists.txt index dd6a757..71a2ab0 100644 --- a/manager/CMakeLists.txt +++ b/manager/CMakeLists.txt @@ -72,7 +72,7 @@ ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DTIZEN_DEBUG") -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") +SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") aux_source_directory(. SOURCES) aux_source_directory(../privilege_checker PRIV_SOURCES) diff --git a/service_lib/CMakeLists.txt b/service_lib/CMakeLists.txt index 723c553..7e73b93 100644 --- a/service_lib/CMakeLists.txt +++ b/service_lib/CMakeLists.txt @@ -72,7 +72,7 @@ ENDIF("${ARCH}" STREQUAL "arm") ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"") ADD_DEFINITIONS("-DTIZEN_DEBUG") -SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") +SET(CMAKE_SHARED_LINKER_FLAGS "-Wl,--as-needed -Wl,--rpath=/usr/lib") aux_source_directory(. SOURCES) ADD_LIBRARY(${fw_name} SHARED ${SOURCES})