diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-17 14:40:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-17 14:40:59 +0200 |
commit | 46fdd9eb995af4f704b283f0e6ce2c54d2e43d5c (patch) | |
tree | 9fe403084c5862e4d751028f5e964dbd6dd99c47 /bpkg/buildfile | |
parent | 112c57a03bb76413067e4856a6c6492c0a1bbfa5 (diff) |
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.
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r-- | bpkg/buildfile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |