r9944: fix python build
authorGünther Deschner <gd@samba.org>
Fri, 2 Sep 2005 09:06:33 +0000 (09:06 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:03:28 +0000 (11:03 -0500)
Guenther
(This used to be commit 97412dbaada018f90a482176a03daf07f2e76466)

source3/python/setup.py

index bfc743603bdb5a5eb59b12bb4f14159c70895b5c..a8b2c2c26d60701ba4d36241328246ee764d0d1d 100755 (executable)
@@ -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