]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
What a typo...
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 11:18:09 +0000 (11:18 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 10 Apr 2013 11:18:09 +0000 (11:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@29242 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/config/CMakeLists.txt

index 6ea97fa6337d86bfa9b5c234f539f1d0b1f840fb..c9deacff93666fabc18ec653e2e6a29d874eb457 100644 (file)
@@ -202,12 +202,11 @@ IF(DEAL_II_COMPONENT_COMPAT_FILES)
     #
     # And build up an rpath:
     #
-    SET(_rpath "-Wl,rpath,")
+    SET(_rpath "")
     LIST(REMOVE_DUPLICATES _paths)
     FOREACH(_path ${_paths})
-      SET(_rpath "${_rpath}${_path}:")
+      SET(_rpath "${_rpath} -Wl,-rpath,${_path}")
     ENDFOREACH()
-    STRING(REGEX REPLACE ":$" "" _rpath "${_rpath}")
 
     TO_STRING(MAKEFILE_LIBS_${build} ${MAKEFILE_LIBS_${build}} ${_rpath})
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.