1
1

Fixes to ensure that dependent libraries are carried forward from the embedded hwloc

This commit was SVN r25140.
Этот коммит содержится в:
Jeff Squyres 2011-09-13 22:43:39 +00:00
родитель 1cd7b02df3
Коммит 4a2cf81c6f
2 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -24,5 +24,5 @@ sources = hwloc121_component.c
noinst_LTLIBRARIES = libmca_hwloc_hwloc121.la
libmca_hwloc_hwloc121_la_SOURCES = $(headers) $(sources)
libmca_hwloc_hwloc121_la_LDFLAGS = -module -avoid-version
libmca_hwloc_hwloc121_la_LIBADD = $(builddir)/hwloc/src/libhwloc_embedded.la
libmca_hwloc_hwloc121_la_LDFLAGS = -module -avoid-version $(opal_hwloc_hwloc121_LDFLAGS)
libmca_hwloc_hwloc121_la_LIBADD = $(opal_hwloc_hwloc121_LIBS)

Просмотреть файл

@ -85,7 +85,7 @@ AC_DEFUN([MCA_opal_hwloc_hwloc121_CONFIG],[
hwloc_hwloc121_WRAPPER_EXTRA_LIBS=$HWLOC_EMBEDDED_LIBS
opal_hwloc_hwloc121_LDFLAGS='$(HWLOC_EMBEDDED_LDFLAGS)'
opal_hwloc_hwloc121_LIBS='$(top_ompi_builddir)/$opal_hwloc_hwloc121_basedir/hwloc/src/libhwloc_embedded.la $(HWLOC_EMBEDDED_LIBS)'
opal_hwloc_hwloc121_LIBS='$(top_ompi_builddir)/'"$opal_hwloc_hwloc121_basedir"'/hwloc/src/libhwloc_embedded.la $(HWLOC_EMBEDDED_LIBS)'
opal_hwloc_hwloc121_support=yes],
[AC_MSG_CHECKING([whether hwloc 1.2.1 configure succeeded])
AC_MSG_RESULT([no])
@ -129,8 +129,6 @@ AC_DEFUN([MCA_opal_hwloc_hwloc121_CONFIG],[
if test "$with_devel_headers" = "yes" ; then
hwloc_hwloc121_WRAPPER_EXTRA_CPPFLAGS="$WRAPPER_EXTRA_CPPFLAGS "'-I${includedir}/openmpi/'"$opal_hwloc_hwloc121_basedir/hwloc/include"
fi
hwloc_hwloc121_WRAPPER_EXTRA_LIBS=$HWLOC_XML_LIBS
hwloc_hwloc121_WRAPPER_EXTRA_LDFLAGS=$HWLOC_XML_LDFLAGS
$1],
[$2])