summaryrefslogtreecommitdiff
path: root/lang/pugs/files/patch-Configure.PL
blob: 39b3e09ba95b8eee68a7774d9bb61bfe8a4df3a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- Configure.PL.orig	2008-08-26 09:12:29.000000000 +0800
+++ Configure.PL	2008-08-26 10:01:03.000000000 +0800
@@ -66,10 +66,12 @@
     else {
         $embed_flags .= " -optc$_" for grep length, split(/\s+/, ccopts());
         $embed_flags .= " -optl$_" for grep length, split(/\s+/, ldopts());
+	$embed_flags =~ s/-optl-pthread(.*?)? //g;
     }
 
     $embed_flags .= " $_" for grep { /-[DIL]/ } split(/\s+/, ccopts());
     $embed_flags .= " $_" for grep { /-[DIL]/ } split(/\s+/, ldopts());
+    $embed_flags =~ s/-pthread(.*?)? //g;
 
     if ($Config{osname} eq 'cygwin') {
         my $cygpath = sub {