From: Jack Jansen <jack.jansen@cwi.nl> Date: Mon, 24 Feb 2003 12:56:36 +0000 (+0000) Subject: That fix was bogus, undone. The problem is that the iconv include file X-Git-Tag: v2.3c1~1703 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ce623fce5707c9c2c9c4716d719e4178a08f80b;p=python That fix was bogus, undone. The problem is that the iconv include file is found if you are running fink, but the module doesn't work. For now I disabled building iconv_codec on darwin. --- diff --git a/setup.py b/setup.py index 96ed416f23..ca4bf9f881 100644 --- a/setup.py +++ b/setup.py @@ -621,9 +621,9 @@ class PyBuildExt(build_ext): ['/usr/local/include', '/usr/pkg/include']) iconv_libs = find_library_file(self.compiler, 'iconv', lib_dirs, ['/usr/local/lib', '/usr/pkg/lib']) - - if iconv_incs: - if iconv_libs: + + if platform not in ['darwin'] and iconv_incs is not None: + if iconv_libs is not None: iconv_libraries = ['iconv'] else: iconv_libraries = [] # in libc