From a03f0d37605cfcd1206947c3d34d3142cbdd913a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Jan 2021 10:38:03 +0200 Subject: Handle bin.exe.prefix in addition to suffix --- bpkg/buildfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bpkg/buildfile') 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. # -- cgit v1.1