summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jamfile.jam2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
index 0ca21a4..15a0e63 100644
--- a/Jamfile.jam
+++ b/Jamfile.jam
@@ -124,7 +124,7 @@ for SAMPLE in [ Glob docs/samples : *.cpp ]
CFGFLAGS += -I src ;
# build and run sample
- local EXECUTABLE = $(CFGBUILD)/samples/$(SAMPLE:S=.exe) ;
+ local EXECUTABLE = $(CFGBUILD)/samples/$(SAMPLE:B).exe ;
local PUGIXML = $(CFGBUILD)/pugixml.lib ;
Application $(EXECUTABLE) : $(SAMPLE) : $(CFGFLAGS) : $(PUGIXML) ;