[svn:parrot] r40798 - branches/pluggable_runcore/config/init/hints
cotto at svn.parrot.org
cotto at svn.parrot.org
Tue Aug 25 22:49:15 UTC 2009
Author: cotto
Date: Tue Aug 25 22:49:11 2009
New Revision: 40798
URL: https://trac.parrot.org/parrot/changeset/40798
Log:
[config] add word boundary assertions to code that looks at library flags
Modified:
branches/pluggable_runcore/config/init/hints/linux.pm
Modified: branches/pluggable_runcore/config/init/hints/linux.pm
==============================================================================
--- branches/pluggable_runcore/config/init/hints/linux.pm Tue Aug 25 22:22:20 2009 (r40797)
+++ branches/pluggable_runcore/config/init/hints/linux.pm Tue Aug 25 22:49:11 2009 (r40798)
@@ -23,10 +23,10 @@
# should find g++ in most cases
my $link = $conf->data->get('link') || 'c++';
- if ( $libs !~ /-lpthread/ ) {
+ if ( $libs !~ /-lpthread\b/ ) {
$libs .= ' -lpthread';
}
- if ( $libs !~ /-lrt/ ) {
+ if ( $libs !~ /-lrt\b/ ) {
$libs .= ' -lrt';
}
my $ld_share_flags = $conf->data->get('ld_share_flags');
More information about the parrot-commits
mailing list