]> granicus.if.org Git - apache/commitdiff
Did not belong in r170253; evalute this patch seperately from
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 16 May 2005 12:59:34 +0000 (12:59 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 16 May 2005 12:59:34 +0000 (12:59 +0000)
  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

support/apxs.in

index f1a5a3c900c64d60fcaff1a285ec0526d5b2c300..c0314d477f9e8e5e7d53315b238b4090d7f89bf0 100644 (file)
@@ -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");