summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcos Pinto <markybob@dipconsultants.com>2008-02-15 17:04:31 +0000
committerMarcos Pinto <markybob@dipconsultants.com>2008-02-15 17:04:31 +0000
commit5fc175092b430047c2bb828540cbb33883b36f18 (patch)
tree06875c451d176603f721c3f0cbe5fc05453b845b
parent02cfb48eeafd824f7aeaeebb3c7b4095d87096ef (diff)
downloaddeluge-5fc175092b430047c2bb828540cbb33883b36f18.tar.gz
deluge-5fc175092b430047c2bb828540cbb33883b36f18.tar.bz2
deluge-5fc175092b430047c2bb828540cbb33883b36f18.zip
only add rt on linux
-rw-r--r--setup.py5
1 files changed, 4 insertions, 1 deletions
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']