1
1

tm: add proper libraries for static builds

Ensure to set the proper WRAPPER_EXTRA flags for static builds.
Этот коммит содержится в:
Jeff Squyres 2014-12-03 13:29:04 -08:00
родитель a3af7d6dbb
Коммит 4e8ea6f716

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

@ -10,7 +10,7 @@
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2006-2013 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
@ -139,6 +139,10 @@ AC_DEFUN([ORTE_CHECK_TM],[
LDFLAGS="$orte_check_package_$1_save_LDFLAGS"
LIBS="$orte_check_package_$1_save_LIBS"
# add the TM libraries to static builds as they are required
$1_WRAPPER_EXTRA_LDFLAGS=[$]$1_LDFLAGS
$1_WRAPPER_EXTRA_LIBS=[$]$1_LIBS
# Did we find the right stuff?
AS_IF([test "$orte_check_tm_happy" = "yes" -a "$orte_check_tm_found" = "yes"],
[$2],