From 0fbe528243803b55188210d63fdb64a23f1c36aa Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 11 Dec 2014 18:04:31 +0100 Subject: [PATCH] build: fix dtrace-enabled build on os x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 691d55f introduces a regression on OS X when dtrace is enabled (the default.) This commit rectifies that by removing the erroneous platform check. Fixes the following build error: CXX(target) /Users/bnoordhuis/src/iojs/out/Release/obj.target/node/src/node_dtrace.o ../src/node_dtrace.cc:27:10: fatal error: 'node_provider.h' file not found PR-URL: https://github.com/iojs/io.js/pull/150 Reviewed-By: Miroslav Bajtoš --- node.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.gyp b/node.gyp index 42a1430fcfa49d..5a9afa019e19aa 100644 --- a/node.gyp +++ b/node.gyp @@ -466,7 +466,7 @@ 'target_name': 'node_dtrace_header', 'type': 'none', 'conditions': [ - [ 'node_use_dtrace=="true" and OS!="mac" and OS!="linux"', { + [ 'node_use_dtrace=="true" and OS!="linux"', { 'actions': [ { 'action_name': 'node_dtrace_header',