diff options
author | Ben Collins <bcollins@debian.org> | 2003-06-09 21:38:34 +0000 |
---|---|---|
committer | Ben Collins <bcollins@debian.org> | 2003-06-09 21:38:34 +0000 |
commit | f03be4707b56e63827e8836ab64a3e291fc3585a (patch) | |
tree | af82e252f8f78c9aba20917586b670e5798e3bf0 /scripts/dpkg-architecture.pl | |
parent | 56db994ba996d55805c1dab1c57d4c4db1353aa0 (diff) | |
download | dpkg-f03be4707b56e63827e8836ab64a3e291fc3585a.tar.gz |
Handle multilib subdirs.
Diffstat (limited to 'scripts/dpkg-architecture.pl')
-rwxr-xr-x | scripts/dpkg-architecture.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dpkg-architecture.pl b/scripts/dpkg-architecture.pl index ecf559af5..4f48e7a81 100755 --- a/scripts/dpkg-architecture.pl +++ b/scripts/dpkg-architecture.pl @@ -134,7 +134,7 @@ if ($?>>8) { &warn("Couldn't determine gcc system type, falling back to default (native compilation)"); $gcc = ''; } else { - $gcc =~ s!^.*gcc-lib/([^/]*)/(?:egcs-)?\d+(?:[.\da-z]*)/libgcc.*$!$1!s; + $gcc =~ s!^.*gcc-lib/([^/]*)/(?:egcs-)?\d+(?:[.\da-z]*)/(|.*/)libgcc.*$!$1!s; if (defined $1 and $1 ne '') { $gcc = $1; } else { |