Pass visibility flags to libltdl's CFLAGS, which will result in libltdl
being hidden in libopal. This seems to make applications which also use libltdl play nicer. This commit was SVN r21731.
Этот коммит содержится в:
родитель
b921c5d605
Коммит
0278b86456
4
NEWS
4
NEWS
@ -47,6 +47,10 @@ Trunk (not on release branches yet)
|
|||||||
1.3.4 (expected)
|
1.3.4 (expected)
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
- Pass visibility flags to libltdl's configure script, resulting in
|
||||||
|
those symbols being hidden. This appears to mainly solve the
|
||||||
|
problem of applications attempting to use different versions of
|
||||||
|
libltdl from that used to build Open MPI.
|
||||||
|
|
||||||
|
|
||||||
1.3.3
|
1.3.3
|
||||||
|
@ -101,6 +101,7 @@ AC_DEFUN([OMPI_CHECK_VISIBILITY],[
|
|||||||
have_visibility=0
|
have_visibility=0
|
||||||
fi
|
fi
|
||||||
CFLAGS="$CFLAGS_orig$add"
|
CFLAGS="$CFLAGS_orig$add"
|
||||||
|
OPAL_VISIBILITY_CFLAGS="$add"
|
||||||
unset add
|
unset add
|
||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED([OPAL_C_HAVE_VISIBILITY], [$have_visibility],
|
AC_DEFINE_UNQUOTED([OPAL_C_HAVE_VISIBILITY], [$have_visibility],
|
||||||
|
@ -1231,7 +1231,7 @@ if test "$OPAL_ENABLE_DLOPEN_SUPPORT" = "1" ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CFLAGS_save="$CFLAGS"
|
CFLAGS_save="$CFLAGS"
|
||||||
CFLAGS="$OMPI_CFLAGS_BEFORE_PICKY"
|
CFLAGS="$OMPI_CFLAGS_BEFORE_PICKY $OPAL_VISIBILITY_CFLAGS"
|
||||||
|
|
||||||
OMPI_CONFIG_SUBDIR(opal/libltdl, [$ompi_subdir_args], [HAPPY=1], [HAPPY=0])
|
OMPI_CONFIG_SUBDIR(opal/libltdl, [$ompi_subdir_args], [HAPPY=1], [HAPPY=0])
|
||||||
if test "$HAPPY" = "1"; then
|
if test "$HAPPY" = "1"; then
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user