Recognize when MKPIC=no and then set shlib=no
This commit is contained in:
parent
ba0f8cbecc
commit
e8f9e7f005
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: sets.subr,v 1.29 2004/02/22 01:43:02 uwe Exp $
|
||||
# $NetBSD: sets.subr,v 1.30 2004/02/28 01:02:05 matt Exp $
|
||||
#
|
||||
|
||||
#
|
||||
|
@ -41,6 +41,7 @@ MKVARS="\
|
|||
MKMAN \
|
||||
MKMANZ \
|
||||
MKNLS \
|
||||
MKPIC \
|
||||
MKPOSTFIX \
|
||||
MKPROFILE \
|
||||
MKSENDMAIL \
|
||||
|
@ -91,7 +92,9 @@ if [ "${MACHINE}" = "evbppc" ]; then
|
|||
lkm=no # Turn off LKMs for some ports.
|
||||
fi
|
||||
# Determine lib type.
|
||||
if [ "${OBJECT_FMT}" = "ELF" ]; then
|
||||
if [ "${MKPIC}" = "no" ]; then
|
||||
shlib=no
|
||||
elif [ "${OBJECT_FMT}" = "ELF" ]; then
|
||||
shlib=elf
|
||||
else
|
||||
shlib=aout
|
||||
|
@ -109,7 +112,7 @@ fi
|
|||
# In each file, a record consists of a path and a System Package name,
|
||||
# separated by whitespace. E.g.,
|
||||
#
|
||||
# # $NetBSD: sets.subr,v 1.29 2004/02/22 01:43:02 uwe Exp $
|
||||
# # $NetBSD: sets.subr,v 1.30 2004/02/28 01:02:05 matt Exp $
|
||||
# . base-sys-root [keyword[,...]]
|
||||
# ./altroot base-sys-root
|
||||
# ./bin base-sys-root
|
||||
|
|
Loading…
Reference in New Issue