ports/devel/wasmer/files/patch-Makefile

11 lines
589 B
Text

--- Makefile.orig 2023-10-04 17:50:14 UTC
+++ Makefile
@@ -388,7 +388,7 @@ check-capi:
build-wasmer:
- $(CARGO_BINARY) build $(CARGO_TARGET_FLAG) --release --manifest-path lib/cli/Cargo.toml $(compiler_features) --bin wasmer --locked
+ RUSTFLAGS+="-L native=%%LOCALBASE%%/lib" $(CARGO_BINARY) build $(CARGO_TARGET_FLAG) --release --manifest-path lib/cli/Cargo.toml $(compiler_features) --bin wasmer --locked
build-wasmer-jsc:
$(CARGO_BINARY) build $(CARGO_TARGET_FLAG) --release --manifest-path lib/cli/Cargo.toml --no-default-features --features="jsc,wat" --bin wasmer --locked