2009-06-17 05:34:35 -04:00
|
|
|
$OpenBSD: patch-config_init_hints_openbsd_pm,v 1.2 2009/06/17 09:34:35 simon Exp $
|
2009-02-04 05:15:14 -05:00
|
|
|
|
|
|
|
Prevent linking with -lpthread, ticket filed upstream at
|
|
|
|
https://trac.parrot.org/parrot/ticket/265
|
|
|
|
|
2009-06-17 05:34:35 -04:00
|
|
|
--- config/init/hints/openbsd.pm.orig Fri Apr 17 17:06:00 2009
|
|
|
|
+++ config/init/hints/openbsd.pm Tue May 26 23:30:16 2009
|
|
|
|
@@ -16,9 +16,15 @@ sub runstep {
|
2009-02-04 05:15:14 -05:00
|
|
|
$conf->data->set( ccflags => $ccflags );
|
|
|
|
|
2009-06-17 05:34:35 -04:00
|
|
|
my $libs = $conf->data->get('libs');
|
|
|
|
+
|
2009-02-04 05:15:14 -05:00
|
|
|
+=for comment
|
|
|
|
+
|
|
|
|
if ( $libs !~ /-lpthread/ ) {
|
|
|
|
$libs .= ' -lpthread';
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+=cut
|
2009-06-17 05:34:35 -04:00
|
|
|
+
|
|
|
|
$conf->data->set(
|
|
|
|
libs => $libs,
|
|
|
|
link => 'g++',
|