From 868da78ecc43ac198e43f8b9e5c724a2cf20c4e2 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Fri, 24 Jun 2022 18:55:35 +0200 Subject: [PATCH] modulefile: unset C_INCLUDE_PATH and CPLUS_INCLUDE_PATH --- Pmodules/modulefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pmodules/modulefile b/Pmodules/modulefile index 16df9dc..8dec4df 100644 --- a/Pmodules/modulefile +++ b/Pmodules/modulefile @@ -20,6 +20,8 @@ if { [module-info mode load] } { remove-path PATH $str } } + remove-path C_INCLUDE_PATH "$PREFIX/include" + remove-path CPLUS_INCLUDE_PATH "$PREFIX/include" } set shell [module-info shell]