prefix internal libraries to avoid naming conflicts with system libraries
This is a precaution to avoid current and future naming conflicts with common system libraries. libutil (part of libc) is the first, but probably not the last example that already caused trouble twice. git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1614 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -33,4 +33,8 @@ add_library(fail dummy.cc)
|
||||
## -> the Fail* targets and user defined experiment targets
|
||||
# start/end-group: ld must iterate over these archives more than once to figure
|
||||
# out which objects are needed
|
||||
target_link_libraries(fail -Wl,--start-group ${EXPERIMENTS_ACTIVATED} ${PLUGINS_ACTIVATED} sal cpn efw comm util -Wl,--end-group)
|
||||
set(experiment_libraries "")
|
||||
foreach(exp_or_plugin ${EXPERIMENTS_ACTIVATED} ${PLUGINS_ACTIVATED})
|
||||
set(experiment_libraries ${experiment_libraries} fail-${exp_or_plugin})
|
||||
endforeach(exp_or_plugin)
|
||||
target_link_libraries(fail -Wl,--start-group ${experiment_libraries} fail-sal fail-cpn fail-efw fail-comm fail-util -Wl,--end-group)
|
||||
|
||||
Reference in New Issue
Block a user