Skip to content

Commit e9a416c

Browse files
authored
Merge pull request #2372 from ggouaillardet/topic/v2.0.x/embedded_missing_dependencies
v2.0.x: add missing dependencies to embedded components
2 parents a764ab8 + a66da81 commit e9a416c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

opal/mca/event/libevent2022/Makefile.am

+6-8
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# Copyright (c) 2012-2013 Los Alamos National Security, LLC.
55
# All rights reserved.
66
# Copyright (c) 2015 Intel, Inc. All rights reserved
7+
# Copyright (c) 2016 Research Organization for Information Science
8+
# and Technology (RIST). All rights reserved.
79
# $COPYRIGHT$
810
#
911
# Additional copyrights may follow
@@ -68,22 +70,18 @@ nobase_opal_HEADERS = $(headers)
6870
nobase_nodist_opal_HEADERS = libevent/include/event2/event-config.h
6971
endif
7072

71-
# Make the output library in this directory, and name it either
72-
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
73-
# (for static builds).
73+
# Make the output library in this directory, and name it
74+
# libmca_<type>_<name>.la because build is forced to be static-only
7475

75-
if MCA_BUILD_opal_event_libevent2022_DSO
76-
component_noinst =
77-
component_install = mca_event_libevent2022.la
78-
else
7976
component_noinst = libmca_event_libevent2022.la
8077
component_install =
81-
endif
78+
8279

8380
# We only ever build this component statically
8481

8582
noinst_LTLIBRARIES = $(component_noinst)
8683
libmca_event_libevent2022_la_SOURCES =$(sources)
8784
libmca_event_libevent2022_la_LDFLAGS = -module -avoid-version
8885
libmca_event_libevent2022_la_LIBADD = $(builddir)/libevent/libevent.la
86+
libmca_event_libevent2022_la_DEPENDENCIES = $(builddir)/libevent/libevent.la
8987

opal/mca/pmix/pmix112/Makefile.am

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# Copyright (c) 2014-2015 Intel, Inc. All rights reserved.
33
# Copyright (c) 2015 Cisco Systems, Inc. All rights reserved.
4-
# Copyright (c) 2015 Research Organization for Information Science
4+
# Copyright (c) 2015-2016 Research Organization for Information Science
55
# and Technology (RIST). All rights reserved.
66
# $COPYRIGHT$
77
#
@@ -42,10 +42,12 @@ mca_pmix_pmix112_la_CPPFLAGS = \
4242
-I$(srcdir)/pmix/include $(opal_pmix_pmix112_CPPFLAGS)
4343
mca_pmix_pmix112_la_LDFLAGS = -module -avoid-version $(opal_pmix_pmix112_LDFLAGS)
4444
mca_pmix_pmix112_la_LIBADD = $(opal_pmix_pmix112_LIBS)
45+
mca_pmix_pmix112_la_DEPENDENCIES = $(opal_pmix_pmix112_LIBS)
4546

4647
noinst_LTLIBRARIES = $(component_noinst)
4748
libmca_pmix_pmix112_la_SOURCES =$(sources)
4849
libmca_pmix_pmix112_la_CFLAGS = $(opal_pmix_pmix112_CFLAGS)
4950
libmca_pmix_pmix112_la_CPPFLAGS = -I$(srcdir)/pmix/include $(opal_pmix_pmix112_CPPFLAGS)
5051
libmca_pmix_pmix112_la_LDFLAGS = -module -avoid-version $(opal_pmix_pmix112_LDFLAGS)
5152
libmca_pmix_pmix112_la_LIBADD = $(opal_pmix_pmix112_LIBS)
53+
libmca_pmix_pmix112_la_DEPENDENCIES = $(opal_pmix_pmix112_LIBS)

0 commit comments

Comments
 (0)