From 6b6f3a8135e7fa559b4b9485cd02edbbd1889caa Mon Sep 17 00:00:00 2001 From: Thomas Gruber Date: Sun, 5 Nov 2023 13:48:18 +0100 Subject: [PATCH] Copy likwid.mod from BASE_DIR, shell internally might be in a different folder (#566) --- make/config_checks.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/config_checks.mk b/make/config_checks.mk index 214a83e5c..d9c4ed571 100644 --- a/make/config_checks.mk +++ b/make/config_checks.mk @@ -63,7 +63,7 @@ FORTRAN_REMOVE_MOVED = else FORTRAN_IF := $(strip $(FORTRAN_IF_NAME)) FORTRAN_INSTALL = @echo "===> INSTALL fortran interface to $(PREFIX)/include/"; \ - cp -f likwid.mod $(strip $(PREFIX))/include/$(strip $(FORTRAN_IF_NAME)) + cp -f $(BASE_DIR)/likwid.mod $(strip $(PREFIX))/include/$(strip $(FORTRAN_IF_NAME)) FORTRAN_REMOVE = @echo "===> REMOVING fortran interface from $(PREFIX)/include/"; \ rm -f $(strip $(PREFIX))/include/$(strip $(FORTRAN_IF_NAME)) FORTRAN_REMOVE_MOVED = @echo "===> REMOVING fortran interface from $(INSTALLED_PREFIX)/include/"; \