Complete the Perl NOSHARED repair. I had not ensured that the shared library

was constructed early enough, so perl was linking against the static lib.
This was breaking perl under ELF, as perl could not load shared objects
(in fact would dump core).
This commit is contained in:
Mark Murray 1998-09-23 06:11:35 +00:00
parent 883f1dcf78
commit 51a6b2cbda
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=39586

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.inc1,v 1.17 1998/09/17 16:32:00 andreas Exp $
# $Id: Makefile.inc1,v 1.18 1998/09/21 08:55:50 jb Exp $
#
# Make command line options:
# -DCLOBBER will remove /usr/include
@ -668,6 +668,10 @@ _libm= lib/libm
_libm= lib/msun
.endif
.if !defined(NOPERL)
_libperl= gnu/usr.bin/perl/libperl
.endif
#
# bootstrap-libraries - build just enough libraries for the bootstrap
# tools, and install them under ${WORLDTMP}.
@ -688,7 +692,7 @@ bootstrap-libraries:
gnu/lib/libregex gnu/lib/libreadline lib/libc \
${_libcrypt} lib/libcurses lib/libedit ${_libm} \
lib/libmd lib/libutil lib/libz usr.bin/lex/lib \
gnu/usr.bin/perl/libperl
${_libperl}
.if exists(${.CURDIR}/${_lib})
cd ${.CURDIR}/${_lib}; \
${MAKE} ${MK_FLAGS} ${_DEPEND}; \
@ -707,7 +711,8 @@ bootstrap-libraries:
libraries:
.for _lib in lib/libcom_err ${_libcrypt} ${_libm} lib/libmytinfo \
lib/libncurses lib/libtermcap \
gnu/lib gnu/usr.bin/cc/libgcc lib usr.bin/lex/lib usr.sbin/pcvt/keycap
gnu/lib gnu/usr.bin/cc/libgcc ${_libperl} lib usr.bin/lex/lib \
usr.sbin/pcvt/keycap
.if exists(${.CURDIR}/${_lib})
cd ${.CURDIR}/${_lib}; ${MAKE} all; ${MAKE} -B install
.endif