From 4265d6729ab11fa76ad0ac1958ac936daf0a3fce Mon Sep 17 00:00:00 2001 From: Jan Noha Date: Tue, 4 Oct 2022 17:09:26 +0200 Subject: [PATCH] enable ld_preload for android target --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1af4bcb..be288ba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ extern crate libc; -#[cfg(target_env = "gnu")] +#[cfg(any(target_env = "gnu", target_os = "android"))] pub mod ld_preload; #[cfg(any(target_os = "macos", target_os = "ios"))]