Lines 1-34
Link Here
|
1 |
--- ./server/CMakeLists.txt.orig 2013-09-27 06:10:02.000000000 +0100 |
1 |
--- server/CMakeLists.txt.orig 2015-08-31 22:18:14.052346502 -0400 |
2 |
+++ ./server/CMakeLists.txt 2014-08-10 17:43:04.000000000 +0100 |
2 |
+++ server/CMakeLists.txt 2015-08-31 22:23:30.580326183 -0400 |
3 |
@@ -36,9 +36,9 @@ |
3 |
@@ -73,9 +73,9 @@ |
4 |
set_source_files_properties(faker-sym.cpp PROPERTIES |
4 |
set_source_files_properties(faker-sym.cpp PROPERTIES |
5 |
OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile) |
5 |
OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile) |
6 |
set_target_properties(rrfaker PROPERTIES |
6 |
set_target_properties(${VGL_RRFAKER_NAME} PROPERTIES |
7 |
- LINK_FLAGS "-z defs ${MAPFLAG}${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile") |
7 |
- LINK_FLAGS "-z defs ${MAPFLAG}${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile") |
8 |
+ LINK_FLAGS "-Wl,-z,defs ${MAPFLAG}${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile") |
8 |
+ LINK_FLAGS "-Wl,-z,defs ${MAPFLAG}${CMAKE_CURRENT_BINARY_DIR}/faker-mapfile") |
9 |
else() |
9 |
else() |
10 |
- set_target_properties(rrfaker PROPERTIES LINK_FLAGS "-z defs") |
10 |
- set_target_properties(${VGL_RRFAKER_NAME} PROPERTIES LINK_FLAGS "-z defs") |
11 |
+ set_target_properties(rrfaker PROPERTIES LINK_FLAGS "-Wl,-z,defs") |
11 |
+ set_target_properties(${VGL_RRFAKER_NAME} PROPERTIES LINK_FLAGS "-Wl,-z,defs") |
12 |
endif() |
12 |
endif() |
13 |
target_link_libraries(rrfaker rrframe ${FBXFAKERLIB} rrsocket m |
13 |
if(VGL_FAKEXCB) |
14 |
${OPENGL_gl_LIBRARY} ${LIBDL}) |
14 |
set(LIBXCB xcb xcb-glx xcb-keysyms X11-xcb) |
15 |
@@ -59,7 +59,7 @@ |
15 |
@@ -99,7 +99,7 @@ |
16 |
install(TARGETS dlfaker DESTINATION ${VGL_LIBDIR}) |
16 |
install(TARGETS ${VGL_DLFAKER_NAME} DESTINATION ${VGL_LIBDIR}) |
17 |
|
17 |
|
18 |
add_library(gefaker SHARED gefaker.c) |
18 |
add_library(${VGL_GEFAKER_NAME} SHARED gefaker.c) |
19 |
-set_target_properties(gefaker PROPERTIES LINK_FLAGS "-z defs") |
19 |
-set_target_properties(${VGL_GEFAKER_NAME} PROPERTIES LINK_FLAGS "-z defs") |
20 |
+set_target_properties(gefaker PROPERTIES LINK_FLAGS "-Wl,-z,defs") |
20 |
+set_target_properties(${VGL_GEFAKER_NAME} PROPERTIES LINK_FLAGS "-Wl,-z,defs") |
21 |
target_link_libraries(gefaker ${LIBDL}) |
21 |
target_link_libraries(${VGL_GEFAKER_NAME} ${LIBDL}) |
22 |
install(TARGETS gefaker DESTINATION ${VGL_LIBDIR}) |
22 |
install(TARGETS ${VGL_GEFAKER_NAME} DESTINATION ${VGL_LIBDIR}) |
23 |
|
23 |
|
24 |
@@ -119,8 +119,8 @@ |
24 |
@@ -148,8 +148,8 @@ |
25 |
add_library(GLdlfakerut SHARED libGLdlfakerut.c) |
25 |
add_library(GLdlfakerut SHARED libGLdlfakerut.c) |
26 |
|
26 |
|
27 |
add_executable(fakerut fakerut.cpp) |
27 |
add_executable(fakerut fakerut.cpp fakerut-supplement.c) |
28 |
-target_link_libraries(fakerut "-z now ${OPENGL_gl_LIBRARY}" |
28 |
-target_link_libraries(fakerut "-z now ${OPENGL_gl_LIBRARY}" |
29 |
- ${OPENGL_glu_LIBRARY} "-z now ${X11_X11_LIB}" ${LIBDL} pthread) |
29 |
- ${OPENGL_glu_LIBRARY} "-z now ${X11_X11_LIB}" ${LIBDL} vglutil) |
30 |
+target_link_libraries(fakerut "-Wl,-z,now ${OPENGL_gl_LIBRARY}" |
30 |
+target_link_libraries(fakerut "-Wl,-z,now ${OPENGL_gl_LIBRARY}" |
31 |
+ ${OPENGL_glu_LIBRARY} "-Wl,-z,now ${X11_X11_LIB}" ${LIBDL} pthread) |
31 |
+ ${OPENGL_glu_LIBRARY} "-Wl,-z,now ${X11_X11_LIB}" ${LIBDL} vglutil) |
32 |
|
32 |
|
33 |
add_library(vgltrans_test SHARED testplugin.cpp vgltransconn.cpp) |
33 |
add_library(vgltrans_test SHARED testplugin.cpp VGLTrans.cpp) |
34 |
if(VGL_USESSL AND CMAKE_SYSTEM_NAME STREQUAL "Linux") |
34 |
if(VGL_USESSL AND CMAKE_SYSTEM_NAME STREQUAL "Linux") |