diff options
author | Pan Fan <nightsailer@gmail.com> | 2016-08-20 02:06:09 +0800 |
---|---|---|
committer | Pan Fan <nightsailer@gmail.com> | 2016-08-20 02:06:09 +0800 |
commit | bfdca59a235b29568e4ad7069951878ec7594d5b (patch) | |
tree | b4c32dee838e13406cda6b72ba7084d9f02abd1e /setupinfo.py | |
parent | 3e868e5b1de340bf47916c1e53703f89796da866 (diff) | |
download | python-lxml-bfdca59a235b29568e4ad7069951878ec7594d5b.tar.gz |
link with "-lrt" error on darwin (OS X)
Diffstat (limited to 'setupinfo.py')
-rw-r--r-- | setupinfo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setupinfo.py b/setupinfo.py index e7bbd098..844c8cb9 100644 --- a/setupinfo.py +++ b/setupinfo.py @@ -238,6 +238,8 @@ def libraries(): libs.extend(['zlib', 'WS2_32']) elif OPTION_STATIC: libs = ['rt', 'z', 'm'] + elif sys.platform in ('darwin',): + libs = ['xslt', 'exslt', 'xml2', 'z', 'm'] else: libs = ['xslt', 'exslt', 'rt', 'xml2', 'z', 'm'] return libs |