make sure we set LIBISPRIVATE.

fixes build issues reported by moof.
This commit is contained in:
mrg 2009-01-07 07:52:28 +00:00
parent 805568190e
commit 32ae7959e8
3 changed files with 5 additions and 5 deletions

View File

@ -1,10 +1,8 @@
# $NetBSD: Makefile.elf,v 1.2 2009/01/07 00:39:24 mrg Exp $
# $NetBSD: Makefile.elf,v 1.3 2009/01/07 07:52:28 mrg Exp $
# Makefile fragment to build a (32 or 64 bit) libldd_elfxx.a.
# Expects CPPFLAGS to have ELFSIZE set, and LIB to be set.
LIBISPRIVATE= yes
SRCS= ldd_elfxx.c
SRCS+= xmalloc.c debug.c expand.c map_object.c load.c search.c \
headers.c paths.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/01/07 00:39:24 mrg Exp $
# $NetBSD: Makefile,v 1.3 2009/01/07 07:52:28 mrg Exp $
CPPFLAGS+= -DELFSIZE=32
LIB= ldd_elf32
@ -6,6 +6,7 @@ LIB= ldd_elf32
# XXX Force one member
SRCS= dummy.c
LIBISPRIVATE= yes
.PATH: ${.CURDIR}/..
# XXX

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/01/07 00:39:24 mrg Exp $
# $NetBSD: Makefile,v 1.3 2009/01/07 07:52:28 mrg Exp $
CPPFLAGS+= -DELFSIZE=64
LIB= ldd_elf64
@ -6,6 +6,7 @@ LIB= ldd_elf64
# XXX Force one member
SRCS= dummy.c
LIBISPRIVATE= yes
.PATH: ${.CURDIR}/..
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \