pkgsrc/devel/gnustep-objc/buildlink3.mk
he 33ae832612 At least on NetBSD, gnustep-objc's libobjc.so ends up with various
_Unwind_* symbols undefined, and apparently they can come from -lgcc_s.
Being cautious, link in -lgcc_s on NetBSD only so far.
Bump PKGREVISION.
2017-12-31 11:20:03 +00:00

21 lines
664 B
Makefile

# $NetBSD: buildlink3.mk,v 1.11 2017/12/31 11:20:03 he Exp $
BUILDLINK_TREE+= gnustep-objc
.if !defined(GNUSTEP_OBJC_BUILDLINK3_MK)
GNUSTEP_OBJC_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gnustep-objc+= gnustep-objc>=1.3.0
BUILDLINK_ABI_DEPENDS.gnustep-objc+= gnustep-objc>=1.3.0nb1
BUILDLINK_PKGSRCDIR.gnustep-objc?= ../../devel/gnustep-objc
BUILDLINK_LDFLAGS.gnustep-objc+= -lobjc -lpthread
.if ${OPSYS} == "NetBSD"
# Missing _Unwind_* symbols in gnustep objc.so, needs to come from somewhere...
BUILDLINK_LDFLAGS.gnustep-objc+= -lgcc_s
.endif
.include "../../devel/gnustep-make/buildlink3.mk"
.endif # GNUSTEP_OBJC_BUILDLINK3_MK
BUILDLINK_TREE+= -gnustep-objc