diff --git a/.cargo/config.toml b/.cargo/config.toml index 9b2e6f51c96e3ae98a54bbb11524210911d0e262..accc3d3beff34f1425097f0a7741dc92542e7d2e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -16,5 +16,13 @@ rustflags = [ "target-feature=+crt-static", # This fixes the linking issue when compiling livekit on Windows ] +[target.x86_64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=--ld-path=wild"] + +[target.aarch64-unknown-linux-gnu] +linker = "clang" +rustflags = ["-C", "link-arg=--ld-path=wild"] + [env] MACOSX_DEPLOYMENT_TARGET = "10.15.7" diff --git a/script/install-wild b/script/install-wild index 3f8a5a2b3ff613285b3f02c0069e5c5829ba3744..fb5cd665b2d4e16a25507ca8b96aa31fd425ba98 100755 --- a/script/install-wild +++ b/script/install-wild @@ -31,14 +31,3 @@ curl -fsSL --output - "$WILD_URL" \ cat < /dev/null 2>&1 || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - cat <