summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python')
-rwxr-xr-xsource3/python/setup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/python/setup.py b/source3/python/setup.py
index bfc743603b..a8b2c2c26d 100755
--- a/source3/python/setup.py
+++ b/source3/python/setup.py
@@ -56,6 +56,9 @@ for lib in string.split(samba_libs):
if lib[0:2] == "-l":
libraries.append(lib[2:])
continue
+ if lib[0:8] == "-pthread":
+ libraries.append(lib[2:])
+ continue
if lib[0:2] == "-L":
library_dirs.append(lib[2:])
continue