summaryrefslogtreecommitdiff
path: root/automake.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-07-17 03:38:32 +0000
committerTom Tromey <tromey@redhat.com>2001-07-17 03:38:32 +0000
commit6e3608a582f0ca34dbc13ecc06a22887fa61b6a6 (patch)
tree041fecdc89f2de2e3e2b9452163c33eb45bd7ac2 /automake.in
parentf97ba42686e899aad627ec163af16bae70a40b6f (diff)
downloadautomake-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-xautomake.in2
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.