From 34a29926651160568e95c864514b7fc7ccf0546c Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Wed, 20 Apr 2011 22:25:30 -0700 Subject: [PATCH] fix solaris build Before this patch the build failure looked like: ... ../../deps/zlib/inftrees.c:330: warning: visibility attribute not supported in this configuration; ignored ... ld: fatal: relocation error: R_386_GOTOFF: file deps/zlib/deflate.c.0.o: symbol zcfree: a GOT relative relocation must reference a local symbol ... --- wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wscript b/wscript index d97538ab0..f4f8da989 100644 --- a/wscript +++ b/wscript @@ -65,6 +65,9 @@ def configure(conf): else: conf.env.PLATFORM = 'unix' + if conf.env.DEST_OS == 'sunos': + conf.env.DEFINES += ['NO_VIZ'] + if conf.options.threadsafe: if conf.env.PLATFORM == 'unix': conf.check_cc(lib='pthread', uselib_store='pthread')