diff options
author | Tom Tromey <tromey@redhat.com> | 2001-07-17 03:38:32 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2001-07-17 03:38:32 +0000 |
commit | 6e3608a582f0ca34dbc13ecc06a22887fa61b6a6 (patch) | |
tree | 041fecdc89f2de2e3e2b9452163c33eb45bd7ac2 /automake.in | |
parent | f97ba42686e899aad627ec163af16bae70a40b6f (diff) | |
download | automake-6e3608a582f0ca34dbc13ecc06a22887fa61b6a6.tar.gz |
2001-07-16 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.in (handle_libraries): Allow libraries to lie in
a subdirectory by constraining only the basename to start
with 'lib', not the whole path.
Diffstat (limited to 'automake.in')
-rwxr-xr-x | automake.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/automake.in b/automake.in index 471a2350e..83165accc 100755 --- a/automake.in +++ b/automake.in @@ -2539,7 +2539,7 @@ sub handle_libraries foreach my $onelib (@liblist) { # Check that the library fits the standard naming convention. - if ($onelib !~ /^lib.*\.a$/) + if ($onelib !~ m%^(?:.*/)?lib[^/]*\.a$%) { # FIXME should put line number here. That means mapping # from library name back to variable name. |