summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
Diffstat (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index fc2cdf36fbe..56889144117 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -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