From: Ilya Zakharevich Date: Tue, 29 May 2001 04:01:38 +0000 (-0400) Subject: extra static libs for OS/2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b732e2e2ae519146417c8478ead31bc42f50a8ac;p=p5sagit%2Fp5-mst-13.2.git extra static libs for OS/2 Message-ID: <20010529040138.A9482@math.ohio-state.edu> p4raw-id: //depot/perl@10281 --- diff --git a/hints/os2.sh b/hints/os2.sh index 5ffa589..49588f1 100644 --- a/hints/os2.sh +++ b/hints/os2.sh @@ -131,6 +131,8 @@ aout_cppflags="-DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I. $_defemxcrtrev" aout_use_clib='c' aout_usedl='undef' aout_archobjs="os2.o dl_os2.o" +# Not listed in dynamic_ext, but needed for AOUT static_ext nevertheless +aout_extra_static_ext="OS2::DLL" # variable which have different values for aout compile used_aout='d_shrplib useshrplib plibext lib_ext obj_ext ar plibext d_fork lddlflags ldflags ccflags use_clib usedl archobjs cppflags' diff --git a/os2/Makefile.SHs b/os2/Makefile.SHs index b3b472b..9efc864 100644 --- a/os2/Makefile.SHs +++ b/os2/Makefile.SHs @@ -14,6 +14,15 @@ esac dll_post="`echo $perl_fullversion | sum | sed -e 's/^0*//' | awk '{print $1}'`" dll_post="`printf '%x' $dll_post | tr '[a-z]' '[A-Z]'`" +aout_extra_libs='' +aout_extra_sep='' +for xxx in $aout_extra_static_ext; do + aout_extra_dir=`echo "$xxx" | sed -e 's/::/\//g'` + aout_extra_lib="lib/auto/$aout_extra_dir/"`basename "$aout_extra_dir"` + aout_extra_libs="$aout_extra_libs$aout_extra_sep$aout_extra_lib$aout_lib_ext" + aout_extra_sep=' ' +done + $spitshell >>Makefile <