summaryrefslogtreecommitdiff
path: root/build/instdso.sh
diff options
context:
space:
mode:
authorBrian Havard <bjh@apache.org>2009-08-26 08:56:13 +0000
committerBrian Havard <bjh@apache.org>2009-08-26 08:56:13 +0000
commit60fbe11de19b807cbc9e372eecd3a86ceed74893 (patch)
tree53cecd61ce8930955243e594a333d488758000b2 /build/instdso.sh
parent3144af1e111eb85e9275da07d702cb79b352102d (diff)
downloadhttpd-60fbe11de19b807cbc9e372eecd3a86ceed74893.tar.gz
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@807930 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/instdso.sh')
-rwxr-xr-xbuild/instdso.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/build/instdso.sh b/build/instdso.sh
index 2a78edda38..7716b29898 100755
--- a/build/instdso.sh
+++ b/build/instdso.sh
@@ -53,6 +53,14 @@ CMD="$SH_LIBTOOL --mode=install cp $DSOARCHIVE $TARGETDIR/"
echo $CMD
$CMD || exit $?
+if test "$SYS" = "OS/2"
+then
+ # on OS/2, aplibtool --install doesn't copy the .la files & we can't
+ # rename DLLs to have a .so extension or they won't load so none of the
+ # steps below make sense.
+ exit 0
+fi
+
if test -s "$TARGETDIR/$DSOARCHIVE_BASENAME"
then
DLNAME=`sed -n "/^dlname=/{s/.*='\([^']*\)'/\1/;p;}" $TARGETDIR/$DSOARCHIVE_BASENAME`