From: José Fonseca Date: Fri, 22 Apr 2011 21:58:51 +0000 (+0100) Subject: Force internal symbol relocations to be solved internally. X-Git-Tag: 2.0_alpha^2~1017 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96de15f4c19dc27721cc9e4a71c57b06e333667d;p=tools%2Fapitrace.git Force internal symbol relocations to be solved internally. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 1960025..0c009f4 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -213,7 +213,10 @@ else () add_library (glxtrace SHARED glxtrace.cpp trace_write.cpp os_posix.cpp ${CMAKE_CURRENT_BINARY_DIR}/glproc.hpp) set_target_properties (glxtrace PROPERTIES + # avoid the default "lib" prefix PREFIX "" + # prevent symbol relocations internal to our wrapper library to be overwritten by the application + LINK_FLAGS "-Wl,-Bsymbolic -Wl,-Bsymbolic-functions" ) target_link_libraries (glxtrace dl)