You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently developing a Tauri application that uses the lame crate which depends on the libmp3lame encoder. I installed it via homebrew and I can successfully link it in my build.rs file as follows:
However, this approach requires the library to be installed on the user's system, and the path is absolute, not relative to the project.
I would like to package the libmp3lame library with my application, so that users don't have to install anything extra. I also want to make the linking path relative to the project, so that it works regardless of where the project is located on the user's system.
Could you please guide me on how to achieve this? Any help would be greatly appreciated.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm currently developing a Tauri application that uses the lame crate which depends on the libmp3lame encoder. I installed it via homebrew and I can successfully link it in my build.rs file as follows:
However, this approach requires the library to be installed on the user's system, and the path is absolute, not relative to the project.
I would like to package the libmp3lame library with my application, so that users don't have to install anything extra. I also want to make the linking path relative to the project, so that it works regardless of where the project is located on the user's system.
Could you please guide me on how to achieve this? Any help would be greatly appreciated.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions