diff options
author | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-02-10 17:25:56 +0000 |
---|---|---|
committer | Gwenolé Beauchesne <gbeauchesne@mandriva.org> | 2005-02-10 17:25:56 +0000 |
commit | 064758bd9d9af074001320d0afd1a48e1c2a0f59 (patch) | |
tree | 3b92709d644114427bca1a7f83e9ec6996cbccfb | |
parent | 1a15ccbc3ba8270cff80795d33fb6153e4535ceb (diff) | |
download | multiarch-utils-064758bd9d9af074001320d0afd1a48e1c2a0f59.tar multiarch-utils-064758bd9d9af074001320d0afd1a48e1c2a0f59.tar.gz multiarch-utils-064758bd9d9af074001320d0afd1a48e1c2a0f59.tar.bz2 multiarch-utils-064758bd9d9af074001320d0afd1a48e1c2a0f59.tar.xz multiarch-utils-064758bd9d9af074001320d0afd1a48e1c2a0f59.zip |
handle --libtool in config scripts, better heuristics (\s+display...)
-rwxr-xr-x | check-multiarch-files | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/check-multiarch-files b/check-multiarch-files index 9d200f9..6611774 100755 --- a/check-multiarch-files +++ b/check-multiarch-files @@ -32,8 +32,8 @@ while (<STDIN>) { if (/.+[-_]config/ && $file_magic =~ /shell script/) { my $options; foreach (cat_($_)) { - foreach my $opt (qw(cflags libs ldflags cppflags libdir)) { - $options .= " --$opt" if /(\[--$opt\]|--$opt\s+[\#\[])/; + foreach my $opt (qw(cflags libs ldflags cppflags libdir libtool)) { + $options .= " --$opt" if /(\[--$opt\]|--$opt\s+([\#\[]|display))/; } } # run the script to find out any libdir dependent flags |