{cc,bintools}-wrapper: also replace . in config
Some configs will have dots for version numbers. To normalize we can just use _ again.
This commit is contained in:
committed by
Matthew Bauer
parent
82f3cd631c
commit
96ce1e03a4
@@ -43,10 +43,8 @@ let
|
||||
# The wrapper scripts use 'cat' and 'grep', so we may need coreutils.
|
||||
coreutils_bin = if nativeTools then "" else getBin coreutils;
|
||||
|
||||
dashlessTarget = stdenv.lib.replaceStrings ["-"] ["_"] targetPlatform.config;
|
||||
|
||||
# See description in cc-wrapper.
|
||||
infixSalt = dashlessTarget;
|
||||
infixSalt = replaceStrings ["-" "."] ["_" "_"] targetPlatform.config;
|
||||
|
||||
# The dynamic linker has different names on different platforms. This is a
|
||||
# shell glob that ought to match it.
|
||||
|
||||
Reference in New Issue
Block a user