We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bb98e5 commit 698ee76Copy full SHA for 698ee76
build.py
@@ -15,7 +15,7 @@
15
16
swift_cflags = ['-DDEPLOYMENT_RUNTIME_SWIFT']
17
if Configuration.current.target.sdk == OSType.Linux:
18
- foundation.CFLAGS = '-DDEPLOYMENT_TARGET_LINUX -D_GNU_SOURCE -DCF_CHARACTERSET_DATA_DIR="CoreFoundation/CharacterSets"'
+ foundation.CFLAGS = '`${PKG_CONFIG} icu-uc icu-i18n --cflags-only-I` -DDEPLOYMENT_TARGET_LINUX -D_GNU_SOURCE -DCF_CHARACTERSET_DATA_DIR="CoreFoundation/CharacterSets"'
19
foundation.LDFLAGS = '${SWIFT_USE_LINKER} -Wl,@./CoreFoundation/linux.ld -lswiftGlibc `${PKG_CONFIG} icu-uc icu-i18n --libs` -Wl,-Bsymbolic '
20
Configuration.current.requires_pkg_config = True
21
elif Configuration.current.target.sdk == OSType.FreeBSD:
0 commit comments