Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Simplify ensu Apple build host assumptions

Manav Rathi914747df461b
diff --git a/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh b/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
index c7c519e5f5..ffd94896fe 100755
--- a/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
+++ b/mobile/native/darwin/Apps/ensu/scripts/build-rust.sh
@@ -122,13 +122,7 @@ ensure_generated_bindings() {
sanitize_generated_swift_bindings "${GENERATED_DIR}/sync.swift"
}
-if [ "$(uname -s)" = "Darwin" ]; then
- HOST_LIB_EXT="dylib"
-elif [ "$(uname -s)" = "Linux" ]; then
- HOST_LIB_EXT="so"
-else
- HOST_LIB_EXT="dll"
-fi
+HOST_LIB_EXT="dylib"
ensure_uniffi_bindgen() {
if command -v uniffi-bindgen >/dev/null 2>&1; then