projects
/
tools
/
apitrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521eb15
)
Force internal symbol relocations to be solved internally.
author
José Fonseca
<jose.r.fonseca@gmail.com>
Fri, 22 Apr 2011 21:58:51 +0000
(22:58 +0100)
committer
José Fonseca
<jose.r.fonseca@gmail.com>
Sat, 23 Apr 2011 10:06:58 +0000
(11:06 +0100)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
1960025
..
0c009f4
100755
(executable)
--- 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)