When MKPIC is "no" and we force MKLINKLIB to "yes" to provide
something for BFD-using programs to link against, also provide an empty libinstall target so that libbfd.a does not get installed.
This commit is contained in:
parent
08cf80dc5c
commit
b659db9760
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.33 2003/04/09 22:33:26 thorpej Exp $
|
# $NetBSD: Makefile,v 1.34 2003/06/26 02:49:31 uwe Exp $
|
||||||
|
|
||||||
NOLINKLIB= # defined
|
NOLINKLIB= # defined
|
||||||
NOLINT= # defined
|
NOLINT= # defined
|
||||||
@ -8,9 +8,11 @@ NOPROFILE= # defined
|
|||||||
.include <bsd.own.mk>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# If the platform does not support shared libraries, we need to supply
|
# If the platform does not support shared libraries, we need to supply
|
||||||
# *something* for BFD-using programs to link against.
|
# *something* for BFD-using programs to link against. Also provide an
|
||||||
|
# empty libinstall target so that libbfd.a does not get installed.
|
||||||
.if ${MKPIC} == "no"
|
.if ${MKPIC} == "no"
|
||||||
MKLINKLIB= yes
|
MKLINKLIB= yes
|
||||||
|
libinstall: # do nothing
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
LIB= bfd
|
LIB= bfd
|
||||||
|
Loading…
Reference in New Issue
Block a user