From 46fdd9eb995af4f704b283f0e6ce2c54d2e43d5c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 17 Aug 2016 14:40:59 +0200 Subject: If bpkg has exe.suffix, use it for the default build2 name So if bpkg is called bpkg-stage, then we by default look for b-stage. --- bpkg/buildfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bpkg/buildfile') diff --git a/bpkg/buildfile b/bpkg/buildfile index 748147c..9d4cc8f 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -59,6 +59,8 @@ $libs if ($cxx.id == "msvc") cxx.coptions += /wd4068 +obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' + # Load the cli module but only if it's available. This way a distribution # that includes pre-generated files can be built without installing cli. # This is also the reason why above we explicitly spelled out individual -- cgit v1.1