tm: add proper libraries for static builds
Ensure to set the proper WRAPPER_EXTRA flags for static builds.
Этот коммит содержится в:
родитель
a3af7d6dbb
Коммит
4e8ea6f716
@ -10,7 +10,7 @@
|
|||||||
# University of Stuttgart. All rights reserved.
|
# University of Stuttgart. All rights reserved.
|
||||||
# Copyright (c) 2004-2005 The Regents of the University of California.
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
# Copyright (c) 2006-2013 Cisco Systems, Inc. All rights reserved.
|
# Copyright (c) 2006-2014 Cisco Systems, Inc. All rights reserved.
|
||||||
# $COPYRIGHT$
|
# $COPYRIGHT$
|
||||||
#
|
#
|
||||||
# Additional copyrights may follow
|
# Additional copyrights may follow
|
||||||
@ -139,6 +139,10 @@ AC_DEFUN([ORTE_CHECK_TM],[
|
|||||||
LDFLAGS="$orte_check_package_$1_save_LDFLAGS"
|
LDFLAGS="$orte_check_package_$1_save_LDFLAGS"
|
||||||
LIBS="$orte_check_package_$1_save_LIBS"
|
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?
|
# Did we find the right stuff?
|
||||||
AS_IF([test "$orte_check_tm_happy" = "yes" -a "$orte_check_tm_found" = "yes"],
|
AS_IF([test "$orte_check_tm_happy" = "yes" -a "$orte_check_tm_found" = "yes"],
|
||||||
[$2],
|
[$2],
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user