summaryrefslogtreecommitdiff
path: root/support/apxs.in
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2005-05-15 19:11:57 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2005-05-15 19:11:57 +0000
commit20d06d7a06099d6108d50c872eadf0c72b64573d (patch)
treec9a828ff5b17977c443db08f6636e4b0ab7d5da5 /support/apxs.in
parentea88cc447e31f462f4847de93509298a0f6b33ce (diff)
downloadhttpd-20d06d7a06099d6108d50c872eadf0c72b64573d.tar.gz
Reintroduce stack frame construction with /Oy- (removal was implied by /O2).
This makes binaries far easier to debug, during operation and for post-crash .dmp analysis. Do not alter /Gs optimizations per brane. Reviewed by: stoddard, brane git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170253 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/apxs.in')
-rw-r--r--support/apxs.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/support/apxs.in b/support/apxs.in
index c0314d477f..f1a5a3c900 100644
--- a/support/apxs.in
+++ b/support/apxs.in
@@ -468,13 +468,15 @@ if ($opt_i or $opt_e) {
my @cmds = ();
my $f;
foreach $f (@args) {
- if ($f !~ m#(\.so$|\.la$)#) {
+ # ack all potential gcc, hp/ux, win32+os2+aix and os/x extensions
+ if ($f !~ m#(\.so$|\.la$|\.sl$|\.dll$|\.dylib$|)#) {
error("file $f is not a shared object");
exit(1);
}
my $t = $f;
$t =~ s|^.+/([^/]+)$|$1|;
- $t =~ s|\.la$|\.so|;
+ # use .so unambigiously for installed shared library modules
+ $t =~ s|\.[^./\\]+$|\.so|;
if ($opt_i) {
push(@cmds, "$installbuilddir/instdso.sh SH_LIBTOOL='" .
"$libtool' $f $CFG_LIBEXECDIR");