diff options
Diffstat (limited to 'impls/monero.rs/src')
| -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. |
