diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-08 10:38:03 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-01-08 10:38:03 +0200 |
commit | a03f0d37605cfcd1206947c3d34d3142cbdd913a (patch) | |
tree | 96e8575a7bb294c86b44527058fe86f7ffad3d4c /bpkg/buildfile | |
parent | 0b3c28e2cbfe84f363a38cfb7f36f16aaad8e629 (diff) |
Handle bin.exe.prefix in addition to suffix
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r-- | bpkg/buildfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/buildfile b/bpkg/buildfile index a3ecd89..cb09ca9 100644 --- a/bpkg/buildfile +++ b/bpkg/buildfile @@ -82,7 +82,8 @@ for t: cxx{**.test...} # Build options. # -obj{utility}: cxx.poptions += -DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' +obj{utility}: cxx.poptions += -DBPKG_EXE_PREFIX='"'$bin.exe.prefix'"' \ +-DBPKG_EXE_SUFFIX='"'$bin.exe.suffix'"' # Pass the copyright notice extracted from the LICENSE file. # |