]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed macosx-version-min to use uname -r, to allow for -rpath flag
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Dec 2010 00:33:02 +0000 (00:33 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 28 Dec 2010 00:33:02 +0000 (00:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@23080 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure

index 1ba4c81653a9589e719267c0708a85eddfd286e4..6a6b1dddb1a8d8c7152e8e412d33ea878c609a4c 100755 (executable)
@@ -12267,9 +12267,9 @@ cat >>confdefs.h <<\_ACEOF
 #define DEAL_II_HAVE_DARWIN_DYNACAST_BUG 1
 _ACEOF
 
-    CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=10.4"
-    CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=10.4"
-    LDFLAGS="$LDFLAGS -mmacosx-version-min=10.4"
+    CXXFLAGSG="$CXXFLAGSG -mmacosx-version-min=`uname -r`"
+    CXXFLAGSO="$CXXFLAGSO -mmacosx-version-min=`uname -r`"
+    LDFLAGS="$LDFLAGS -mmacosx-version-min=`uname -r`"
   fi
   rm -f contrib/config/tests/darwin-dynamic-cast/libDynamicCastTestLib.dylib
   rm -f contrib/config/tests/darwin-dynamic-cast/main.o

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.