From 901a248641c00febae4b2fce4c7b7ace842609b4 Mon Sep 17 00:00:00 2001 From: Thomas Roehl Date: Fri, 9 Apr 2021 14:01:08 +0200 Subject: [PATCH] Fix Makefile variable for external HWLOC --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6fd50d86c..c9c9e0c14 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,9 @@ LIBS += -ldl ifeq ($(LUA_INTERNAL),false) LIBS += -l$(LUA_LIB_NAME) endif +ifeq ($(USE_INTERNAL_HWLOC),false) +LIBS += -l$(HWLOC_LIB_NAME) +endif #CONFIGURE BUILD SYSTEM BUILD_DIR = ./$(COMPILER) @@ -262,7 +265,7 @@ $(TARGET_GOTCHA_LIB): @echo "===> ENTER $(GOTCHA_FOLDER)" $(Q)$(MAKE) --no-print-directory -C $(GOTCHA_FOLDER) $(MAKECMDGOALS) -ifeq ($(USE_HWLOC_INTERNAL),true) +ifeq ($(USE_INTERNAL_HWLOC),true) $(TARGET_HWLOC_LIB): @echo "===> ENTER $(HWLOC_FOLDER)" $(Q)$(MAKE) --no-print-directory -C $(HWLOC_FOLDER) $(MAKECMDGOALS)