From fd10c1c496bc5992977c72e59d641f11d724996f Mon Sep 17 00:00:00 2001 From: Edgar Gabriel Date: Thu, 25 Aug 2016 09:59:29 -0500 Subject: [PATCH] common/ompio: make --disable-mpi-io work in static builds --- ompi/mca/common/ompio/Makefile.am | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/ompi/mca/common/ompio/Makefile.am b/ompi/mca/common/ompio/Makefile.am index f2c469eaf17..0e58c83735b 100644 --- a/ompi/mca/common/ompio/Makefile.am +++ b/ompi/mca/common/ompio/Makefile.am @@ -30,7 +30,11 @@ sources = \ common_ompio_file_view.c \ common_ompio_file_read.c \ common_ompio_file_write.c +else +headers = +sources = +endif # To simplify components that link to this library, we will *always* # have an output libtool library named libmca__.la -- even @@ -88,13 +92,3 @@ clean-local: rm -f "$(comp_inst)"; \ fi -else - -# Need to have empty targets because AM can't handle having an -# AM_CONDITIONAL was targets in the "if" statement but not in the -# "else". :-( - -all-local: -clean-local: - -endif