From 7a2894f1e0a4dbbeb33a8335f54e823eb72ee6c3 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Mon, 7 Nov 2016 14:57:52 +0900 Subject: [PATCH] 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 --- opal/mca/event/libevent2022/Makefile.am | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/opal/mca/event/libevent2022/Makefile.am b/opal/mca/event/libevent2022/Makefile.am index c5117ef2bb..5fff134f99 100644 --- a/opal/mca/event/libevent2022/Makefile.am +++ b/opal/mca/event/libevent2022/Makefile.am @@ -70,17 +70,11 @@ nobase_opal_HEADERS = $(headers) nobase_nodist_opal_HEADERS = libevent/include/event2/event-config.h endif -# Make the output library in this directory, and name it either -# mca__.la (for DSO builds) or libmca__.la -# (for static builds). +# Make the output library in this directory, and name it +# libmca__.la because build is forced to be static-only -if MCA_BUILD_opal_event_libevent2022_DSO -component_noinst = -component_install = mca_event_libevent2022.la -else component_noinst = libmca_event_libevent2022.la component_install = -endif # We only ever build this component statically @@ -90,5 +84,4 @@ libmca_event_libevent2022_la_SOURCES =$(sources) libmca_event_libevent2022_la_LDFLAGS = -module -avoid-version libmca_event_libevent2022_la_LIBADD = $(builddir)/libevent/libevent.la libmca_event_libevent2022_la_DEPENDENCIES = $(builddir)/libevent/libevent.la -mca_event_libevent2022_la_DEPENDENCIES = $(builddir)/libevent/libevent.la