--- auto/make.orig	2025-01-10 16:45:42 UTC
+++ auto/make
@@ -43,7 +43,7 @@ RUST_FLAGS =		--release
 	cat << END >> $NXT_MAKEFILE
 
 RUST_FLAGS =		--release
-NXT_OTEL_LIB_STATIC =	$NXT_BUILD_DIR/lib/libotel.a
+NXT_OTEL_LIB_STATIC =	%%LOCALBASE%%/lib/libotel.a
 
 END
 
@@ -585,10 +585,5 @@ NXT_OTEL_DEPS=" \
 
     cat << END >> $NXT_MAKEFILE
 
-\$(NXT_OTEL_LIB_STATIC): $NXT_OTEL_DEPS
-	\$(PP_CR) \$@
-	\$(v)cargo rustc \$(RUST_FLAGS) \\
-		--manifest-path $NXT_OTEL_LIB_DIR/Cargo.toml \\
-		-- --emit link=../../$NXT_BUILD_DIR/lib/libotel.a
 END
 fi
