From ea6b1035bd6dc2cae748b47ed58943f362d091c7 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 22 Dec 2005 22:15:52 +0000 Subject: r12441: Fix python build. Guenther (This used to be commit e33a20c222948414a9cf92fe6f63e655aebb6b06) --- source3/python/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/python/setup.py') diff --git a/source3/python/setup.py b/source3/python/setup.py index 18f1f2648a..ffdafd7087 100755 --- a/source3/python/setup.py +++ b/source3/python/setup.py @@ -63,8 +63,10 @@ for lib in string.split(samba_libs): next_is_flag = 0; elif lib == "-Wl,-rpath": next_is_path = 1; - elif lib[0:2] in ("-l","-pthread"): + elif lib[0:2] in ("-l"): libraries.append(lib[2:]) + elif lib[0:8] in ("-pthread"): + pass # Skip linker flags elif lib[0:2] == "-L": library_dirs.append(lib[2:]) elif lib[0:2] in ("-W","-s"): -- cgit