Simplify build:

- remove needless src/modules.c, that generates by nginx build system
- rename the module's source file to src/ngx_otel_module.cpp
This commit is contained in:
Sergey A. Osokin 2023-09-19 20:33:07 -04:00
parent dc52126d09
commit 1222d0617e
3 changed files with 1 additions and 15 deletions

2
config
View file

@ -9,7 +9,7 @@ ngx_module_deps=" \
$ngx_addon_dir/src/trace_service_client.hpp \
"
ngx_module_srcs=" \
$ngx_addon_dir/src/http_module.cpp \
$ngx_addon_dir/src/ngx_otel_module.cpp \
objs/opentelemetry/proto/common/v1/common.pb.cc \
objs/opentelemetry/proto/resource/v1/resource.pb.cc \
objs/opentelemetry/proto/trace/v1/trace.pb.cc \