reverting r1671, it completely breaks linking everywhere

FIXME: We really need to make linking less fragile.  The campaign server
should not (at the moment: cannot, and does not) link against the
simulator backend, but the SAL instance refers to backend symbols.  This
just seems to work currently due to lucky translation unit arrangement and
a lot of karma accumulated over the last few years.

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1693 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hsc
2012-09-25 16:14:25 +00:00
parent d45965753d
commit 5aac012ea4

View File

@ -37,4 +37,4 @@ 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,-whole-archive ${experiment_libraries} fail-sal fail-cpn fail-efw fail-comm fail-util -Wl,-no-whole-archive)
target_link_libraries(fail -Wl,-start-group fail-sal fail-cpn fail-efw fail-comm fail-util ${experiment_libraries} -Wl,-end-group)