[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / gnustep-objc

File: [cvs.NetBSD.org] / pkgsrc / devel / gnustep-objc / buildlink3.mk (download)

Revision 1.11, Sun Dec 31 11:20:03 2017 UTC (2 years, 4 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.10: +5 -1 lines

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.

# $NetBSD: buildlink3.mk,v 1.11 2017/12/31 11:20:03 he Exp $

BUILDLINK_TREE+=	gnustep-objc


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

.include "../../devel/gnustep-make/buildlink3.mk"

BUILDLINK_TREE+=	-gnustep-objc