From 9576b4ca96f2ad4cfb84abe3352ea0c8ffd2f975 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 6 Feb 2019 10:35:20 +0900 Subject: [PATCH] mtl/ofi: fix configury when VPATH is used Signed-off-by: Gilles Gouaillardet --- ompi/mca/mtl/ofi/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ompi/mca/mtl/ofi/Makefile.am b/ompi/mca/mtl/ofi/Makefile.am index 2499f8589d7..0ed214df89c 100644 --- a/ompi/mca/mtl/ofi/Makefile.am +++ b/ompi/mca/mtl/ofi/Makefile.am @@ -5,6 +5,8 @@ # Copyright (c) 2017 Los Alamos National Security, LLC. All rights # reserved. # Copyright (c) 2017 IBM Corporation. All rights reserved. +# Copyright (c) 2019 Research Organization for Information Science +# and Technology (RIST). All rights reserved. # $COPYRIGHT$ # # Additional copyrights may follow @@ -55,7 +57,7 @@ mtl_ofi_sources = \ # files should be added to generated_source_modules, as well as adding # their .c variants to generated_sources. %.c : %.pm; - $(PERL) generate-opt-funcs.pl $@ + $(PERL) -I$(top_srcdir)/ompi/mca/mtl/ofi $(top_srcdir)/ompi/mca/mtl/ofi/generate-opt-funcs.pl $@ # Make the output library in this directory, and name it either # mca__.la (for DSO builds) or libmca__.la