From 5fabd14680467f7821210bb5dff336553263c3f1 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Sun, 16 Jun 2002 07:43:14 +0000 Subject: [PATCH] OS/2: Stop a bunch of error messages while doing a make install. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95710 13f79535-47bb-0310-9956-ffa450edef68 --- build/instdso.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/instdso.sh b/build/instdso.sh index eb0945fa10..1a476ec182 100755 --- a/build/instdso.sh +++ b/build/instdso.sh @@ -37,6 +37,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 + DLNAME=`grep "^dlname" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"` LIBRARY_NAMES=`grep "library_names" $TARGETDIR/$DSOARCHIVE_BASENAME | sed -e "s/dlname='\([^']*\)'/\1/"` LIBRARY_NAMES=`echo $LIBRARY_NAMES | sed -e "s/ *$DLNAME//g"` -- 2.40.0