1
1
openmpi/opal/mca/dl/dlopen/Makefile.am
Jeff Squyres 65a0e041ac dl: need to use LIBADD, not LIBS
When we use LIBADD for static libraries, the dependent libraries get
propagated properly.  For example, the dl/dlopen component will almost
certainly require the -ldl library; when using LIBS, that doesn't get
propagated elsewhere in the tree, but when using LIBADD, it does
(e.g., when linking opal_wrapper_compiler).
2015-03-12 15:01:14 -07:00

24 строки
600 B
Makefile

#
# Copyright (c) 2004-2010 The Trustees of Indiana University.
# All rights reserved.
# Copyright (c) 2014-2015 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
sources = \
dl_dlopen.h \
dl_dlopen_component.c \
dl_dlopen_module.c
# This component will only ever be built statically -- never as a DSO.
noinst_LTLIBRARIES = libmca_dl_dlopen.la
libmca_dl_dlopen_la_SOURCES = $(sources)
libmca_dl_dlopen_la_LDFLAGS = -module -avoid-version
libmca_dl_dlopen_la_LIBADD = $(opal_dl_dlopen_LIBS)