bash: use libc malloc on musl instead of internal malloc (#46370)
This commit is contained in:
parent
71df434d1f
commit
a85afb829e
@ -203,6 +203,9 @@ def configure_args(self):
|
||||
args.append(f"--with-libiconv-prefix={spec['iconv'].prefix}")
|
||||
else:
|
||||
args.append("--without-libiconv-prefix")
|
||||
# bash malloc relies on sbrk which fails intentionally in musl
|
||||
if spec.satisfies("^[virtuals=libc] musl"):
|
||||
options.append("--without-bash-malloc")
|
||||
return args
|
||||
|
||||
def check(self):
|
||||
|
Loading…
Reference in New Issue
Block a user