Commit bb5a3aa
build: fix cctest target --with-dtrace
Currently the cctest target will fail on linux when configured
--with-dtrace:
/node-v9.2.0/out/Release/obj.target/node/src/node_dtrace.o:
In function `node::DTRACE_NET_SERVER_CONNECTION(
v8::FunctionCallbackInfo<v8::Value> const&)':
node_dtrace.cc:(.text+0x103): undefined reference to
`node_net__server__connection_semaphore'
/node-v9.2.0/out/Release/obj.target/node/src/node_dtrace.o:
In function `node::DTRACE_NET_STREAM_END(
v8::FunctionCallbackInfo<v8::Value> const&)':
...
This is because node_dtrace_provider.o is not linked by the cctest
target.
This commit tries to fix and simplify the conditions in cctest target
so that node_dtrace.o is included for all operating systems that support
dtrace, include node_dtrace_ustack.o for all operating systems except
mac and linux, and include node_dtrace_provider.o for all operating
systems except mac.
PR-URL: #17039
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 826e718 commit bb5a3aaCopy full SHA for bb5a3aa
File tree
Expand file treeCollapse file tree
1 file changed
+14
-11
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
1 file changed
+14
-11
lines changedOpen diff view settings
Collapse file
+14-11Lines changed: 14 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
862 | 862 | |
863 | 863 | |
864 | 864 | |
865 | | - |
| 865 | + |
| 866 | + |
| 867 | + |
| 868 | + |
| 869 | + |
| 870 | + |
| 871 | + |
| 872 | + |
| 873 | + |
| 874 | + |
| 875 | + |
| 876 | + |
| 877 | + |
| 878 | + |
866 | 879 | |
867 | 880 | |
868 | 881 | |
| ||
873 | 886 | |
874 | 887 | |
875 | 888 | |
876 | | - |
877 | | - |
878 | | - |
879 | | - |
880 | | - |
881 | | - |
882 | | - |
883 | | - |
884 | | - |
885 | | - |
886 | 889 | |
887 | 890 | |
888 | 891 | |
|
0 commit comments