From: Ryan Bloom Date: Wed, 22 Nov 2000 20:35:56 +0000 (+0000) Subject: Add the ability for apxs to install both libtool generated and non-libtool X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09e2581a7e77b05c8cb05c0e88a6d2c247438938;p=apache Add the ability for apxs to install both libtool generated and non-libtool generated shared objects. Submitted by: Jon Travis Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87070 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/apxs.in b/support/apxs.in index 11f105ed5a..e2a0569741 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -405,7 +405,7 @@ if ($opt_i or $opt_e) { my @cmds = (); my $f; foreach $f (@args) { - if ($f !~ m|\.la$|) { + if ($f !~ m#(\.so$|\.la$)#) { print STDERR "apxs:Error: file $f is not a shared object\n"; exit(1); }