[prev in list] [next in list] [prev in thread] [next in thread]
List: netbsd-tech-toolchain
Subject: re: libexec/ld.elf_so vs. MKPICINSTALL=no
From: matthew green <mrg () eterna ! com ! au>
Date: 2003-02-22 7:49:29
[Download RAW message or body]
this seems the right change to me.
.mrg.
My make(1) clue is not enough to figure what's the right way to deal
with it. Does the following patch to libexec/ld.elf_so/Makefile looks
correct?
Index: Makefile
===================================================================
RCS file: /cvsroot/src/libexec/ld.elf_so/Makefile,v
retrieving revision 1.59
diff -u -r1.59 Makefile
--- Makefile 2002/10/05 15:52:15 1.59
+++ Makefile 2003/02/22 05:22:16
@@ -50,11 +50,10 @@
.endif
LDADD+= -L${CLIBOBJ} -L${DESTDIR}${LIBDIR} -non_shared -lc_pic
-DPADD+= ${CLIBOBJ}/libc_pic.a ${LIBC_PIC}
-
-# One of these may not exist at link time, so avoid make errors.
-${DPADD}:
- @true
+.if ${MKPICINSTALL} != "no"
+DPADD+= ${LIBC_PIC}
+.endif
+DPADD+= ${CLIBOBJ}/libc_pic.a
STRIPFLAG=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic