diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2021-08-11 13:05:25 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-13 14:44:06 +0100 |
commit | a38e358e163b211c37d15faf88fb1f109a72dc16 (patch) | |
tree | 50fe6ec6a8a89f252aaffb484fd90fc48848fef5 /meta/recipes-core/glib-2.0 | |
parent | dac9318c5a7145bf499bcc2463e21ddcd63c2331 (diff) | |
download | poky-a38e358e163b211c37d15faf88fb1f109a72dc16.tar.gz |
glib-2.0: add PACKAGECONFIG for selinux
Add PACKAGECONFIG for selinux rather than disable it directly. This is
useful for selinux distro feature.
(From OE-Core rev: a4544876ad08c5169c07c49d351bedf6f2a16ce4)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index 4859d28097..7528337456 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -45,8 +45,9 @@ PACKAGECONFIG[manpages] = "-Dman=true, -Dman=false, libxslt-native xmlto-native" | |||
45 | # libelf is auto-detected without a configuration option | 45 | # libelf is auto-detected without a configuration option |
46 | PACKAGECONFIG[libelf] = ",,elfutils" | 46 | PACKAGECONFIG[libelf] = ",,elfutils" |
47 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,dbus" | 47 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false,dbus" |
48 | PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux" | ||
48 | 49 | ||
49 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false -Dselinux=disabled" | 50 | EXTRA_OEMESON = "-Ddtrace=false -Dfam=false -Dsystemtap=false" |
50 | 51 | ||
51 | do_configure:prepend() { | 52 | do_configure:prepend() { |
52 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | 53 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in |