]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
When testing for -dylib_install_name, we need to link into a shared library, not...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Nov 2008 14:33:56 +0000 (14:33 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Nov 2008 14:33:56 +0000 (14:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@17468 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/aclocal.m4
deal.II/configure

index b3c0dcb172306852123942c24f529ce9516c8509..481a5bf438b3ec8cd0b37c4b8dd7feaa4f2483df 100644 (file)
@@ -1733,7 +1733,7 @@ AC_DEFUN(DEAL_II_CHECK_LINK_SONAME,
 
   dnl Now try the -dylib_install_name thing
   OLD_LDFLAGS=$LDFLAGS
-  LDFLAGS="-Wl,-dylib_install_name -Wl,libbase.so.6.2.1 $LDFLAGS"
+  LDFLAGS="-Wl,-dylib_install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
   AC_MSG_CHECKING([whether compiler understands option -Wl,-dylib_install_name])
   AC_LINK_IFELSE(
    [ AC_LANG_PROGRAM([[]],[[]])],
index c2d98035a81e0753eb2c84339529f6e39ae1ad39..c299d6600333584654b7597d27e604716c4bdcbe 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 17384 .
+# From configure.in Revision: 17397 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for deal.II 6.2.pre.
 #
@@ -11560,7 +11560,7 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
 
     OLD_LDFLAGS=$LDFLAGS
-  LDFLAGS="-Wl,-dylib_install_name -Wl,libbase.so.6.2.1 $LDFLAGS"
+  LDFLAGS="-Wl,-dylib_install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
   { echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-dylib_install_name" >&5
 echo $ECHO_N "checking whether compiler understands option -Wl,-dylib_install_name... $ECHO_C" >&6; }
   cat >conftest.$ac_ext <<_ACEOF

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.