From 4db59ff3381f2bdde0ed76ac213cc144a747bc24 Mon Sep 17 00:00:00 2001 From: sevenc-nanashi Date: Mon, 18 Sep 2023 22:57:25 +0900 Subject: [PATCH] =?UTF-8?q?Change:=20libstdc++=E3=82=92static=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .cargo/config.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 64fcc6aea..455b6014b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -13,6 +13,8 @@ linker = "aarch64-linux-gnu-gcc" [target.aarch64-linux-android] linker = "aarch64-linux-android29-clang" +rustflags = ["-C", "link-arg=-static-libstdc++"] [target.x86_64-linux-android] linker = "x86_64-linux-android29-clang" +rustflags = ["-C", "link-arg=-static-libstdc++"]