Skip to content

Commit 7a2894f

Browse files
committed
event/libevent2022: cleanup dependencies to the embedded libevent lib
configury force event/libevent2022 to be built as a static module, so simplify Makefile.am Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 023d18a commit 7a2894f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

opal/mca/event/libevent2022/Makefile.am

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,11 @@ nobase_opal_HEADERS = $(headers)
7070
nobase_nodist_opal_HEADERS = libevent/include/event2/event-config.h
7171
endif
7272

73-
# Make the output library in this directory, and name it either
74-
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
75-
# (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
7675

77-
if MCA_BUILD_opal_event_libevent2022_DSO
78-
component_noinst =
79-
component_install = mca_event_libevent2022.la
80-
else
8176
component_noinst = libmca_event_libevent2022.la
8277
component_install =
83-
endif
8478

8579

8680
# We only ever build this component statically
@@ -90,5 +84,4 @@ libmca_event_libevent2022_la_SOURCES =$(sources)
9084
libmca_event_libevent2022_la_LDFLAGS = -module -avoid-version
9185
libmca_event_libevent2022_la_LIBADD = $(builddir)/libevent/libevent.la
9286
libmca_event_libevent2022_la_DEPENDENCIES = $(builddir)/libevent/libevent.la
93-
mca_event_libevent2022_la_DEPENDENCIES = $(builddir)/libevent/libevent.la
9487

0 commit comments

Comments
 (0)