From 90a5fad2b7f25f2daf5d321f17b0793533ab4da9 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 21 Apr 2016 13:06:13 +0200 Subject: [PATCH] glib: Enable static libraries for glib I want to use static libraries of glib in rauc to shrink the rescue image to a reasonable amount. --- yocto-dora/glib-2.0/glib-2.0_2.40.0.bb | 2 ++ yocto-master/glib-2.0_%.bbappend | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 yocto-master/glib-2.0_%.bbappend diff --git a/yocto-dora/glib-2.0/glib-2.0_2.40.0.bb b/yocto-dora/glib-2.0/glib-2.0_2.40.0.bb index 245b91c..8d61f49 100644 --- a/yocto-dora/glib-2.0/glib-2.0_2.40.0.bb +++ b/yocto-dora/glib-2.0/glib-2.0_2.40.0.bb @@ -19,3 +19,5 @@ SRC_URI_append_class-native = " file://glib-gettextize-dir.patch" SRC_URI[md5sum] = "05fb7cb17eacbc718e90366a1eae60d9" SRC_URI[sha256sum] = "0d27f195966ecb1995dcce0754129fd66ebe820c7cd29200d264b02af1aa28b5" + +EXTRA_OECONF += " --enable-static " diff --git a/yocto-master/glib-2.0_%.bbappend b/yocto-master/glib-2.0_%.bbappend new file mode 100644 index 0000000..53e9c01 --- /dev/null +++ b/yocto-master/glib-2.0_%.bbappend @@ -0,0 +1,2 @@ +EXTRA_OECONF += " --enable-static " +