diff options
| author | sneurlax <sneurlax@gmail.com> | 2024-10-11 23:25:55 -0500 |
|---|---|---|
| committer | sneurlax <sneurlax@gmail.com> | 2024-10-11 23:25:55 -0500 |
| commit | aab9ea7f13655aec88900c744d060a0ee3735c14 (patch) | |
| tree | 4018a28ab3c1dc3d4201180e6672b208d8829e47 /impls | |
| parent | 4f522861849ac9bc06c4eae6d23c29d0fc6c0da9 (diff) | |
fix android lib
see https://github.com/MrCyjaneK/monero_c/pull/67#discussion_r1796442681
I'm tired >.>
Diffstat (limited to 'impls')
| -rw-r--r-- | impls/monero.rs/src/lib.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/impls/monero.rs/src/lib.rs b/impls/monero.rs/src/lib.rs index cc45c13..0c76ea2 100644 --- a/impls/monero.rs/src/lib.rs +++ b/impls/monero.rs/src/lib.rs @@ -25,16 +25,16 @@ pub struct WalletManager { library: Arc<Library>, } -#[cfg(target_os = "windows")] -const LIB_NAME: &str = "monero_libwallet2_api_c.dll"; -#[cfg(target_os = "macos")] -const LIB_NAME: &str = "monero_libwallet2_api_c.dylib"; -#[cfg(target_os = "ios")] -const LIB_NAME: &str = "MoneroWallet.framework/MoneroWallet"; #[cfg(target_os = "android")] +const LIB_NAME: &str = "libmonero_libwallet2_api_c.so"; +#[cfg(target_os = "ios")] const LIB_NAME: &str = "MoneroWallet.framework/MoneroWallet"; #[cfg(target_os = "linux")] const LIB_NAME: &str = "monero_libwallet2_api_c.so"; +#[cfg(target_os = "macos")] +const LIB_NAME: &str = "monero_libwallet2_api_c.dylib"; +#[cfg(target_os = "windows")] +const LIB_NAME: &str = "monero_libwallet2_api_c.dll"; impl WalletManager { /// Create a new WalletManager, optionally specifying the path to the shared library. |
