only add rt on linux

This commit is contained in:
Marcos Pinto 2008-02-15 17:04:31 +00:00
parent 02cfb48eea
commit 5fc175092b
1 changed files with 4 additions and 1 deletions

View File

@ -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']