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.
This commit is contained in:
parent
70ec40befa
commit
9ce623fce5
4
setup.py
4
setup.py
|
@ -622,8 +622,8 @@ class PyBuildExt(build_ext):
|
||||||
iconv_libs = find_library_file(self.compiler, 'iconv', lib_dirs,
|
iconv_libs = find_library_file(self.compiler, 'iconv', lib_dirs,
|
||||||
['/usr/local/lib', '/usr/pkg/lib'])
|
['/usr/local/lib', '/usr/pkg/lib'])
|
||||||
|
|
||||||
if iconv_incs:
|
if platform not in ['darwin'] and iconv_incs is not None:
|
||||||
if iconv_libs:
|
if iconv_libs is not None:
|
||||||
iconv_libraries = ['iconv']
|
iconv_libraries = ['iconv']
|
||||||
else:
|
else:
|
||||||
iconv_libraries = [] # in libc
|
iconv_libraries = [] # in libc
|
||||||
|
|
Loading…
Reference in New Issue