diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2005-05-16 12:59:34 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2005-05-16 12:59:34 +0000 |
commit | 1c8f20855899fef282f6fbaa2f4954ba3748a3d6 (patch) | |
tree | 092e622511770e5d7c7cea052765fc1876b347a9 /support/apxs.in | |
parent | 8f0fdd61ad9e3eae13dc3157afd0aa8328a6561f (diff) | |
download | httpd-1c8f20855899fef282f6fbaa2f4954ba3748a3d6.tar.gz |
Did not belong in r170253; evalute this patch seperately from
the win32 /Oy- patch. Will recommit for seperate discussion.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170380 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apxs.in')
-rw-r--r-- | support/apxs.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/support/apxs.in b/support/apxs.in index f1a5a3c900..c0314d477f 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -468,15 +468,13 @@ if ($opt_i or $opt_e) { my @cmds = (); my $f; foreach $f (@args) { - # ack all potential gcc, hp/ux, win32+os2+aix and os/x extensions - if ($f !~ m#(\.so$|\.la$|\.sl$|\.dll$|\.dylib$|)#) { + if ($f !~ m#(\.so$|\.la$)#) { error("file $f is not a shared object"); exit(1); } my $t = $f; $t =~ s|^.+/([^/]+)$|$1|; - # use .so unambigiously for installed shared library modules - $t =~ s|\.[^./\\]+$|\.so|; + $t =~ s|\.la$|\.so|; if ($opt_i) { push(@cmds, "$installbuilddir/instdso.sh SH_LIBTOOL='" . "$libtool' $f $CFG_LIBEXECDIR"); |