Commit 21973133 authored by Denis Bilenko's avatar Denis Bilenko

setup.py: also search /usr/lib64/libevent for system libevent installation

this should help with CentOS 5.3. Thanks to Jason Toffaletti.
parent c7692410
......@@ -9,7 +9,7 @@ name = 'gevent.core'
sources = ['gevent/core.c']
ev_dir = None
if ev_dir is None and glob.glob('/usr/lib/libevent.*'):
if ev_dir is None and ( glob.glob('/usr/lib/libevent*') or glob.glob('/usr/lib64/libevent*') ):
print 'found system libevent for', sys.platform
libevent = Extension(name=name,
sources=sources,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment