15 lines
515 B
Text
15 lines
515 B
Text
$NetBSD: patch-an,v 1.2 2014/05/09 09:19:06 wiz Exp $
|
|
|
|
Support -pthread compiler flag.
|
|
http://bugs.python.org/issue21461
|
|
|
|
--- Modules/makesetup.orig 2008-06-11 05:26:20.000000000 +0000
|
|
+++ Modules/makesetup
|
|
@@ -164,6 +164,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
|
|
-rpath) libs="$libs $arg"; skip=libs;;
|
|
--rpath) libs="$libs $arg"; skip=libs;;
|
|
-[A-Zl]*) libs="$libs $arg";;
|
|
+ -pthread) libs="$libs $arg";;
|
|
*.a) libs="$libs $arg";;
|
|
*.so) libs="$libs $arg";;
|
|
*.sl) libs="$libs $arg";;
|