We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a28f5 commit 81f49c4Copy full SHA for 81f49c4
config
@@ -1,7 +1,13 @@
1
ngx_addon_name=ngx_otel_module
2
3
-cmake -D NGX_OTEL_NGINX_BUILD_DIR=$NGX_OBJS \
4
- -D CMAKE_LIBRARY_OUTPUT_DIRECTORY=$PWD/$NGX_OBJS \
+case "$NGX_OBJS" in
+ /*) ngx_module_outdir="$NGX_OBJS" ;;
5
+ *) ngx_module_outdir="$PWD/$NGX_OBJS" ;;
6
+esac
7
+
8
+cmake -D "NGX_OTEL_NGINX_DIR=$PWD" \
9
+ -D "NGX_OTEL_NGINX_BUILD_DIR=$NGX_OBJS" \
10
+ -D "CMAKE_LIBRARY_OUTPUT_DIRECTORY=$ngx_module_outdir" \
11
-D "CMAKE_C_FLAGS=$NGX_CC_OPT" \
12
-D "CMAKE_CXX_FLAGS=$NGX_CC_OPT" \
13
-D "CMAKE_MODULE_LINKER_FLAGS=$NGX_LD_OPT" \
0 commit comments