don't pull in libelf on SunOS, to fix build problems (PR pkg/46478)
This is a poor fix for an apparently not well understood problem, so we should consider it a stopgap fix and find a sustainable solution after the freeze.
This commit is contained in:
parent
e5ac85abf2
commit
6b81fa6836
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.205 2012/05/22 20:40:07 jmmv Exp $
|
||||
# $NetBSD: Makefile,v 1.206 2012/06/26 18:21:24 drochner Exp $
|
||||
|
||||
.include "Makefile.common"
|
||||
.include "options.mk"
|
||||
|
@ -44,7 +44,7 @@ BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1
|
|||
LIBS.SunOS+= -lnsl -lsocket
|
||||
CPPFLAGS.SunOS+= -DBSD_COMP
|
||||
|
||||
.if ${OBJECT_FMT} == "ELF"
|
||||
.if ${OBJECT_FMT} == "ELF" && ${OPSYS} != "SunOS"
|
||||
.include "../../devel/libelf/buildlink3.mk"
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue