diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-08 15:05:18 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-08 15:05:18 (GMT) |
commit | ad80c6bb2afa6d46fc19104127d7b02f8a5e2169 (patch) | |
tree | 3e1a47152e5f36929f0730c70604b904eb6e9f99 /setup.py | |
parent | 6349e8956774f675eb10a81d3498eb613ebb397f (diff) | |
download | cpython-ad80c6bb2afa6d46fc19104127d7b02f8a5e2169.zip cpython-ad80c6bb2afa6d46fc19104127d7b02f8a5e2169.tar.gz cpython-ad80c6bb2afa6d46fc19104127d7b02f8a5e2169.tar.bz2 |
Build with --disable-unicode again. Fixes #1158607.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -770,11 +770,12 @@ class PyBuildExt(build_ext): )) # Hye-Shik Chang's CJKCodecs modules. - exts.append(Extension('_multibytecodec', - ['cjkcodecs/multibytecodec.c'])) - for loc in ('kr', 'jp', 'cn', 'tw', 'hk', 'iso2022'): - exts.append(Extension('_codecs_' + loc, - ['cjkcodecs/_codecs_%s.c' % loc])) + if have_unicode: + exts.append(Extension('_multibytecodec', + ['cjkcodecs/multibytecodec.c'])) + for loc in ('kr', 'jp', 'cn', 'tw', 'hk', 'iso2022'): + exts.append(Extension('_codecs_' + loc, + ['cjkcodecs/_codecs_%s.c' % loc])) # Dynamic loading module if sys.maxint == 0x7fffffff: |