-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meson configure option to change dependency path #5616
Comments
You would install ffmpeg into a prefix, e.g. in your home directory, and then do |
Hmm. It seems, that meson compiles with the system libraries:
However, with LD_LIBRARY_PATH the linker find the correct libs but I guess, this is only valid as long as the ABI is equal:
|
You can check what
returns. |
Thanks for the hint. That solved my problem. I installed ffmpeg locally with |
I have a project build with meson, that uses parts of FFmpeg, shared libraries installed in the system:
This works. However, I recently discovered a problem in the problem so debugging (and changing) FFmpeg would be useful.
Is there a way to say meson not to link against the system library but link against a self build local version (ideally without changing the meson.build file)?
If not, I would leave this here as a feature request.
I imagine something like:
with the format:
Additionally, I tried to change the meson.build file to say meson to use "~/src/ffmpeg/libavformat/libavformat.so", but have no success.
However, changing the meson.build file is (in my opinion) the wrong way, since the meson.build file should specify the normal case and not custom user wanted stuff.
The text was updated successfully, but these errors were encountered: