Skip to content
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: Fix deprecation warning #34

Merged
merged 1 commit into from
Oct 27, 2021
Merged

Conversation

xclaesse
Copy link
Contributor

The library should be passed as first positional argument to
pkg.generate(). Also remove arguments that meson sets by default
already.

This requires meson >= 0.46.0.

The library should be passed as first positional argument to
pkg.generate(). Also remove arguments that meson sets by default
already.

This requires meson >= 0.46.0.
@edersondisouza
Copy link
Collaborator

I'm just eluded by the "deprecation warning": when does it happen? If I simply run meson build I don't get it...

@xclaesse
Copy link
Contributor Author

It's a bit complicated... It happens when libavtp is used as subprojects of gstreamer. The reason is when the library is passed as first positional argument meson remembers the PC file is associated with that lib. When later gstreamer generates its own PC file, meson will know to use requires: instead of libs: with this pr.

@edersondisouza
Copy link
Collaborator

Oh, I see. That's for the static build, right?
LGTM!

@xclaesse
Copy link
Contributor Author

Yes, thanks. I don't have merge permission, can you do it for me please?

@vcgomes vcgomes merged commit 2f4e011 into Avnu:master Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants