2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Allow only suffixes starting with a digit (#79)

An easiest way to ignore toolset platform subfeature suffixes (-linux/darwin/win).
This commit is contained in:
Nikita Kniazev
2021-09-03 06:23:08 +03:00
committed by GitHub
parent 320c2b2ed5
commit 23212066f0

View File

@@ -151,7 +151,7 @@ test_toolset ()
#
check_toolset ()
{
TOOLSET=${B2_TOOLSET%%-*}
TOOLSET=${B2_TOOLSET%%-[0-9]*}
TOOLSET_SUFFIX=${B2_TOOLSET##$TOOLSET}
# Prefer Clang (clang) on macOS..