aboutsummaryrefslogtreecommitdiff
path: root/bpkg/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/buildfile')
-rw-r--r--bpkg/buildfile2
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