Skip to content

Commit

Permalink
build: fix dtrace-enabled build on os x
Browse files Browse the repository at this point in the history
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: nodejs#150
Reviewed-By: Miroslav Bajtoš <[email protected]>
  • Loading branch information
bnoordhuis committed Dec 11, 2014
1 parent 99e7c58 commit 0fbe528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0fbe528

Please sign in to comment.