From e4e1917936d42d0d854c7c1467041756f40522b8 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 31 Aug 2011 19:10:38 +0000 Subject: [PATCH] build: fixups for sunos --- configure-gyp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure-gyp b/configure-gyp index f1d8a46..0ec745c 100755 --- a/configure-gyp +++ b/configure-gyp @@ -150,7 +150,10 @@ def configure_node(o): o['variables']['node_use_dtrace'] = 'true' if options.with_dtrace else 'false' o['variables']['host_arch'] = host_arch() o['variables']['target_arch'] = target_arch() - o['variables']['visibility'] = '' # -fvisibility=hidden doesn't work with older gccs + + # TODO move to node.gyp + if sys.platform == 'sunos5': + o['variables']['visibility'] = '' # FIXME -fvisibility=hidden, should be a gcc check def configure_libz(o): -- 2.7.4