aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-01-10 17:40:44 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-12 18:08:12 +0100
commitaecdbea4c951a09b74cdfc911e636a123973419e (patch)
tree033de83ab77bffb7ff734a42a43febad4f8496f1
parentb7eaf15027ecbba7f704293f48cfab1e1ad53cf1 (diff)
downloadbuildroot-aecdbea4c951a09b74cdfc911e636a123973419e.tar.gz
buildroot-aecdbea4c951a09b74cdfc911e636a123973419e.tar.bz2
package/atk: fix static build
Use library instead of shared_library to allow the user to build a static libatk library Fixes: - http://autobuild.buildroot.org/results/347a37dd2585974bdbf3bf99158e8ee9127d1202 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/atk/0001-atk-meson.build-replace-shared_library-by-library.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/atk/0001-atk-meson.build-replace-shared_library-by-library.patch b/package/atk/0001-atk-meson.build-replace-shared_library-by-library.patch
new file mode 100644
index 0000000000..6260cca89f
--- /dev/null
+++ b/package/atk/0001-atk-meson.build-replace-shared_library-by-library.patch
@@ -0,0 +1,33 @@
+From da08587d9a57b45cc8a76cb31390c79c1199959b Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Thu, 10 Jan 2019 10:13:03 +0100
+Subject: [PATCH] atk/meson.build: replace shared_library by library
+
+Use library instead of shared_library to allow the user to build a
+static libatk library
+
+Fixes:
+ - http://autobuild.buildroot.org/results/347a37dd2585974bdbf3bf99158e8ee9127d1202
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Upstream status: https://gitlab.gnome.org/GNOME/atk/merge_requests/11]
+---
+ atk/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/atk/meson.build b/atk/meson.build
+index 69ba6c5..0ad67e5 100644
+--- a/atk/meson.build
++++ b/atk/meson.build
+@@ -122,7 +122,7 @@ endif
+
+ atk_inc = include_directories('.')
+
+-libatk = shared_library('atk-@0@'.format(atk_api_version),
++libatk = library('atk-@0@'.format(atk_api_version),
+ sources: atk_sources + atk_enums + atk_marshals,
+ soversion: atk_soversion,
+ version: atk_libversion,
+--
+2.14.1
+