From ed2f327ad9919e9da66d5d1b2f5acd3680772d39 Mon Sep 17 00:00:00 2001 From: Rodrigo Date: Mon, 14 Oct 2024 00:05:46 -0400 Subject: [PATCH] fix: runtime is .a and not .so --- .cargo/config.toml | 2 +- scripts/dependencies.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index 97af3962fd..807814c48e 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,5 +1,5 @@ [env] -CAIRO_NATIVE_RUNTIME_LIBRARY = "./libcairo_native_runtime.so" +CAIRO_NATIVE_RUNTIME_LIBRARY = "./libcairo_native_runtime.a" LLVM_SYS_191_PREFIX = "/usr/lib/llvm-19/" MLIR_SYS_190_PREFIX = "/usr/lib/llvm-19/" TABLEGEN_190_PREFIX = "/usr/lib/llvm-19/" diff --git a/scripts/dependencies.sh b/scripts/dependencies.sh index c630374491..99839285c8 100755 --- a/scripts/dependencies.sh +++ b/scripts/dependencies.sh @@ -70,7 +70,7 @@ function compile_cairo_native_runtime() { cargo build -p cairo-native-runtime --release --all-features --quiet popd || exit 1 - mv ./cairo_native/target/release/libcairo_native_runtime.a ./libcairo_native_runtime.so + mv ./cairo_native/target/release/libcairo_native_runtime.a ./libcairo_native_runtime.a rm -rf ./cairo_native }