package/meson: make pkg-config --static aware
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 15 Feb 2020 15:26:20 +0000 (16:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 12 Apr 2020 19:03:57 +0000 (21:03 +0200)
commitcf75d7da98596580eee5a9b5e1a3e156ad832099
tree02ac6fc416ab745925051763679587ff03958cad
parent019f9a8bb440543b1f4c5c1d0afe04b48a72bdbd
package/meson: make pkg-config --static aware

Our pkg-config wrapper is not used since commit
4e0bc29993376613d200e892d491e31ea5a49622, this raise static build
failures with libglib2 because --static is not passed anymore to
pkg-config so add a patch to get back the old behaviour.

The patch was proposed upstream
https://github.com/mesonbuild/meson/pull/6629, and the feedback was
not very positive. However, we need a solution that works for
Buildroot now, and this proposal is simple enough.

Fixes:

  http://autobuild.buildroot.org/results/0d36952def63cb69628697fa6408aeb6ce10cb5b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/meson/0004-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch [new file with mode: 0644]
package/meson/cross-compilation.conf.in
package/pkg-meson.mk