diff --git a/check/predef.jam b/check/predef.jam index 65c3451..f62aec7 100644 --- a/check/predef.jam +++ b/check/predef.jam @@ -27,10 +27,12 @@ local rule check_target ( language : ext ) # Need to use absolute paths because we don't know the # context of the invocation which affects where the paths # originate from. + local predef_jam + = [ modules.binding $(__name__) ] ; local source_path - = [ path.root $(__name__:D)/predef_check_as_$(language).$(ext) [ path.pwd ] ] ; + = [ path.root $(predef_jam:D)/predef_check_as_$(language).$(ext) [ path.pwd ] ] ; local include_path - = [ path.root $(__name__:D)/../include [ path.pwd ] ] ; + = [ path.root $(predef_jam:D)/../include [ path.pwd ] ] ; _check_exe_($(language)) = [ exe predef_check_as_$(language) : $(source_path) diff --git a/test/build.jam b/test/build.jam index c6bee6a..28e1473 100755 --- a/test/build.jam +++ b/test/build.jam @@ -55,6 +55,6 @@ test-suite predef : [ run info_as_objc.m : : : always_show_run_output ] [ run version.cpp ] [ run make.cpp ] - # [ compile macos_endian.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ] - # [ compile macos_vs_bsd.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ] + [ compile macos_endian.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ] + [ compile macos_vs_bsd.c : [ predef-require "BOOST_OS_MACOS" : cpp ] ] ;