Commit f2003f80 authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐
Browse files

meson: fix pkgconfig generation

The bug preventing us to pass the library object to
pkgconfig.generate() has been fixed in meson 0.52.

By doing so the generated pc file has the right -L linker flag, making
it easier to test the lib from non standard location.
We also no longer have to pass libraries_private, it will handle it
automatically.
parent 301110c6
project('webrtc-audio-processing', 'c', 'cpp',
version : '0.3.1',
meson_version : '>= 0.47',
meson_version : '>= 0.52',
default_options : [ 'warning_level=1',
'buildtype=debugoptimized' ])
......@@ -109,7 +109,5 @@ pkgconfig.generate(
extra_cflags: [
'-DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD',
] + platform_cflags,
# XXX: passing the libwebrtc_audio_processing object result in adding not-installed libraries to Libs.private
libraries: '-lwebrtc_audio_processing',
libraries_private: common_deps,
libraries: libwebrtc_audio_processing,
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment