dnl Now try the -dylib_install_name thing
OLD_LDFLAGS=$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])
+ LDFLAGS="-Wl,-dynamic,-install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
+ AC_MSG_CHECKING([whether compiler understands option -Wl,-dynamic,-install_name])
AC_LINK_IFELSE(
[ AC_LANG_PROGRAM([[]],[[]])],
[
DEAL_II_ADD_SONAME = -Wl,-soname,$(call DEAL_II_SHLIB_NAME,$(1))
else
ifeq (@DEAL_II_LD_UNDERSTANDS_DYLIB_INSTALL_NAME@,yes)
- DEAL_II_ADD_SONAME = -Wl,-dylib_install_name -Wl,$(call DEAL_II_SHLIB_NAME,$(1))
+ DEAL_II_ADD_SONAME = -Wl,-dynamic,-install_name -Wl,$(call DEAL_II_SHLIB_NAME,$(1))
else
DEAL_II_ADD_SONAME =
endif
#! /bin/sh
-# From configure.in Revision: 17397 .
+# From configure.in Revision: 17475 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for deal.II 6.2.pre.
#
;;
esac
- case "${GXX-VERSION}" in
+ case "${GXX_VERSION}" in
ibm_xlc* )
SHLIBFLAGS="-qmkshrobj"
;;
OLD_LDFLAGS=$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; }
+ LDFLAGS="-Wl,-dynamic,-install_name -Wl,libbase.so.6.2.1 $LDFLAGS -shared"
+ { echo "$as_me:$LINENO: checking whether compiler understands option -Wl,-dynamic,-install_name" >&5
+echo $ECHO_N "checking whether compiler understands option -Wl,-dynamic,-install_name... $ECHO_C" >&6; }
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF