package/libglib2: fix building on older distributions
authorAdam Duskett <Aduskett@gmail.com>
Wed, 18 Sep 2019 17:03:29 +0000 (10:03 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Sep 2019 20:44:25 +0000 (22:44 +0200)
commitbf023aaf103a41e1de0d598b0789483559d8c769
treeedc43aeef7ec9fee7ff46b7d7c8c0b70efc1f338
parent82dba486928df660bb8e6e576ed21a7c65568804
package/libglib2: fix building on older distributions

When updating to libglib2 2.62.0, the file 0002-add-option-to-build-tests.patch
had to be refactored to work with the new build_tests checks. In the process of
refactoring, a missing check was overlooked in glib/meson.build causing
distributions with older versions of objcopy to fail because the older version
does not contain the --add-symbol argument.

Adding the check for the build_tests argument fixes the issue.

Fixes:
http://autobuild.buildroot.net/results/dcc2352a036aba9650eae8abaaa23819fc67332d

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libglib2/0002-add-option-to-build-tests.patch