summaryrefslogtreecommitdiffhomepage
path: root/src/java/nginx/unit/websocket/WsFrameBase.java
diff options
context:
space:
mode:
authorAndrew Clayton <a.clayton@nginx.com>2025-01-09 03:55:44 +0000
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2025-01-10 13:01:46 -0800
commit74b1626db6826821b6ecc26a1fa5cceaa49253d5 (patch)
treea361527d6ee33fac9ee77457765e307510fae30d /src/java/nginx/unit/websocket/WsFrameBase.java
parent6980ac17650487a83a7645594dc5f132ee618243 (diff)
downloadunit-74b1626db6826821b6ecc26a1fa5cceaa49253d5.tar.gz
unit-74b1626db6826821b6ecc26a1fa5cceaa49253d5.tar.bz2
auto/make: Fix various issues with building OTEL
There were at least a couple of issues with building OTEL support. It only worked with GNU make due to the use of ifeq, even gmake had some issues. Debug builds were broken due to trying to pass --debug to cargo which is the default and isn't a valid option. This 'fixes' things by doing 'release' builds of OTEL by default. Passing D=1 to make will generate 'debug' builds but this as previously with D= etc, only works with GNU make. We make use of the '--emit link=' rustc option to place the libotel.a static library into build/lib This is good, it consolidates the static libraries into one place and it simplifies the build scripts. While we're at it pretty print the cargo command by default. Fixes: 9d3dcb800 ("otel: add build tooling to include otel code") Link: <https://github.com/nginx/unit/pull/1520#issuecomment-2556265063> Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'src/java/nginx/unit/websocket/WsFrameBase.java')
0 files changed, 0 insertions, 0 deletions