From 5fc175092b430047c2bb828540cbb33883b36f18 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 15 Feb 2008 17:04:31 +0000 Subject: [PATCH] only add rt on linux --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 97e21fe17..57c6f6edb 100644 --- a/setup.py +++ b/setup.py @@ -148,7 +148,10 @@ if not OS == "win": boost_thread = "boost_thread-mt" 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']