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]