diff options
| author | tv <tv@NetBSD.org> | 2002-03-01 20:15:16 +0000 |
|---|---|---|
| committer | tv <tv@NetBSD.org> | 2002-03-01 20:15:16 +0000 |
| commit | 7cfc131b503a588d8ae31be377598b871edd5d1e (patch) | |
| tree | 3532394eb7ed6c795e79332ba7b9fac06cca69b2 /libexec | |
| parent | 685d1c413a4c6549692b6af2038fab9e8bfe8066 (diff) | |
Don't bomb if the ${DPADD} files are missing -- we want at least one of
them, where the other may not exist, and the linker will fail for us if
both don't exist.
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/ld.elf_so/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/ld.elf_so/Makefile b/libexec/ld.elf_so/Makefile index 4a79e6ef7b3..73e44a248e4 100644 --- a/libexec/ld.elf_so/Makefile +++ b/libexec/ld.elf_so/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2002/02/04 00:25:30 thorpej Exp $ +# $NetBSD: Makefile,v 1.48 2002/03/01 20:15:16 tv Exp $ .include <bsd.own.mk> # for OBJECT_FMT definition @@ -46,7 +46,11 @@ CPPFLAGS+= -DRTLD_DEFAULT_LIBRARY_PATH=\"${SHLIBDIR}:${LIBDIR}\" .endif LDADD+= -L${CLIBOBJ} -L${DESTDIR}${LIBDIR} -non_shared -lc_pic -DPADD+= ${LIBC_PIC} +DPADD+= ${CLIBOBJ}/libc_pic.a ${LIBC_PIC} + +# One of these may not exist at link time, so avoid make errors. +${DPADD}: + @true STRIPFLAG= |
