projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deac2ac
)
The test for iconv_incs tested explicitly for None, but [] is returned
author
Jack Jansen
<jack.jansen@cwi.nl>
Mon, 24 Feb 2003 12:48:58 +0000
(12:48 +0000)
committer
Jack Jansen
<jack.jansen@cwi.nl>
Mon, 24 Feb 2003 12:48:58 +0000
(12:48 +0000)
if the include files cannot be found.
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 31df74ce5ea1c6a4eb532899ecd81faac227e4e6..96ed416f23780a78cf970572ce404fe7bed4c5c3 100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-622,8
+622,8
@@
class PyBuildExt(build_ext):
iconv_libs = find_library_file(self.compiler, 'iconv', lib_dirs,
['/usr/local/lib', '/usr/pkg/lib'])
- if
(iconv_incs is not None)
:
- if iconv_libs
is not None
:
+ if
iconv_incs
:
+ if iconv_libs:
iconv_libraries = ['iconv']
else:
iconv_libraries = [] # in libc