From: Fabrice Fontaine Date: Sat, 31 Jul 2021 21:53:30 +0000 (+0200) Subject: package/libmbim: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc5a45c25f590926c7609e766916a838f32258cf;p=buildroot.git package/libmbim: fix static build Fix static build failure raised since switch to meson in commit be76508af2b2253f95137a28198139732be2dcb3 Fixes: - http://autobuild.buildroot.org/results/8553211d87a2c41d8b47b51bbb193736fce49714 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/libmbim/0001-src-libmbim-glib-meson.build-fix-static-build.patch b/package/libmbim/0001-src-libmbim-glib-meson.build-fix-static-build.patch new file mode 100644 index 0000000000..6ccad9abf8 --- /dev/null +++ b/package/libmbim/0001-src-libmbim-glib-meson.build-fix-static-build.patch @@ -0,0 +1,34 @@ +From ff1f9d7c9bc163de3117383b7cea9cd99585462a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Sat, 31 Jul 2021 23:42:35 +0200 +Subject: [PATCH] src/libmbim-glib/meson.build: fix static build + +Replace shared_library by library to fix static build failure with +toolchains that don't support dynamic library + +Fixes: + - http://autobuild.buildroot.org/results/8553211d87a2c41d8b47b51bbb193736fce49714 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://gitlab.freedesktop.org/mobile-broadband/libmbim/-/merge_requests/83] +--- + src/libmbim-glib/meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/libmbim-glib/meson.build b/src/libmbim-glib/meson.build +index e3337db..5de3564 100644 +--- a/src/libmbim-glib/meson.build ++++ b/src/libmbim-glib/meson.build +@@ -76,7 +76,7 @@ version_header = configure_file( + + symbol_map = join_paths(meson.current_source_dir(), 'symbol.map') + +-libmbim_glib = shared_library( ++libmbim_glib = library( + libname, + version: mbim_glib_version, + sources: version_header, +-- +2.30.2 +