X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=mk%2Fjam%2Fflags.jam;h=be214357c281b316810cec7fb23b07fe8a7c7bd2;hb=1872ea0a1a908a73fe90ab00284caad8d041c648;hp=1b8ea6160fd515c2a58eb04ee78ac21b94dabbc9;hpb=6fe1f3519eecbbb75eca97c45a6697eee36b2442;p=supertux.git diff --git a/mk/jam/flags.jam b/mk/jam/flags.jam index 1b8ea6160..be214357c 100644 --- a/mk/jam/flags.jam +++ b/mk/jam/flags.jam @@ -124,7 +124,7 @@ rule ExtraObjects ## sure the dependency scanner is able to locate your header files. The ## directories are relative to the current subdir specified with the SubDir ## rule. -## Implementation: The directories are simply added to the HDRS variable +## Implementation: The directories are simply added to the HDRSEARCH variable ## which is respected by all jam rules. rule IncludeDir { @@ -136,14 +136,14 @@ rule IncludeDir CppFlags $(<) : [ CreateIncludeFlags $(dir) ] ; # needed for header scanning - HDRS on $($(<)_SOURCES) += $(dir) ; + HDRSEARCH on $($(<)_SOURCES) += $(dir) ; } } else { for i in $(<) { dir = [ ConcatDirs $(SUBDIR) $(i) ] ; CPPFLAGS += [ CreateIncludeFlags $(dir) ] ; # needed for header scanning - HDRS += $(dir) ; + HDRSEARCH += $(dir) ; } } }