From: Hwankyu Jhun Date: Wed, 28 Jun 2017 06:09:43 +0000 (+0900) Subject: Do not create the new dynamic tags X-Git-Tag: accepted/tizen/4.0/unified/20170816.011412~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=618eec76e5339be8c6123a6659a8e80cd3cf10cf;p=platform%2Fcore%2Fappfw%2Flaunchpad.git Do not create the new dynamic tags Add linker option: -Wl,--disable-new-dtags Change-Id: I11f6bdd242d915f8af8e25d958b7f1c58d7c508f Signed-off-by: Hwankyu Jhun --- diff --git a/CMakeLists.txt b/CMakeLists.txt index a742c61..8baac20 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ ADD_EXECUTABLE(${LAUNCHPAD_LOADER} ${${LAUNCHPAD_LOADER}_SOURCE_FILES}) # To support 2.x applications which use their own shared libraries. # Since we cannot set LD_LIBRARY_PATH directly by security issue, we make the # dynamic linker looks in the CWD forcely. -TARGET_LINK_LIBRARIES(${LAUNCHPAD_LOADER} "-ldl -Wl,-rpath,:") +TARGET_LINK_LIBRARIES(${LAUNCHPAD_LOADER} "-ldl -Wl,-rpath,: -Wl,--disable-new-dtags") TARGET_LINK_LIBRARIES(${LAUNCHPAD_LOADER} ${${this_target_loader}_LDFLAGS} "-pie") SET_TARGET_PROPERTIES(${LAUNCHPAD_LOADER} PROPERTIES COMPILE_FLAGS ${EXTRA_CFLAGS_loader}) SET_TARGET_PROPERTIES(${LAUNCHPAD_LOADER}