swift: fix build w/glibc-2.32
This commit is contained in:
parent
5a3dd6b2d0
commit
9ad913dd6f
@ -245,6 +245,10 @@ stdenv.mkDerivation {
|
|||||||
--replace usr "$PREFIX"
|
--replace usr "$PREFIX"
|
||||||
substituteInPlace swift-corelibs-xctest/build_script.py \
|
substituteInPlace swift-corelibs-xctest/build_script.py \
|
||||||
--replace usr "$PREFIX"
|
--replace usr "$PREFIX"
|
||||||
|
substituteInPlace swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_InfoPlist.c \
|
||||||
|
--replace "if !TARGET_OS_ANDROID" "if TARGET_OS_MAC || TARGET_OS_BSD"
|
||||||
|
substituteInPlace swift-corelibs-foundation/CoreFoundation/PlugIn.subproj/CFBundle_Resources.c \
|
||||||
|
--replace "if !TARGET_OS_ANDROID" "if TARGET_OS_MAC || TARGET_OS_BSD"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user