only add rt on linux
This commit is contained in:
parent
02cfb48eea
commit
5fc175092b
5
setup.py
5
setup.py
|
@ -148,7 +148,10 @@ if not OS == "win":
|
||||||
boost_thread = "boost_thread-mt"
|
boost_thread = "boost_thread-mt"
|
||||||
|
|
||||||
librariestype = [boost_filesystem, boost_date_time,
|
librariestype = [boost_filesystem, boost_date_time,
|
||||||
boost_thread, 'z', 'pthread', 'ssl', 'rt', 'crypto']
|
boost_thread, 'z', 'pthread', 'ssl', 'crypto']
|
||||||
|
|
||||||
|
if os == "linux":
|
||||||
|
librariestype += ['rt']
|
||||||
|
|
||||||
removals = ['-g', '-Wstrict-prototypes']
|
removals = ['-g', '-Wstrict-prototypes']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue