diff options
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 1fa82363b1..179cb3dac5 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -106,6 +106,11 @@ EXTRA_OECONF_append_class-target = " --enable-setpriv" | |||
106 | EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" | 106 | EXTRA_OECONF_append_class-native = " --without-cap-ng --disable-setpriv" |
107 | EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" | 107 | EXTRA_OECONF_append_class-nativesdk = " --without-cap-ng --disable-setpriv" |
108 | 108 | ||
109 | # enable pcre2 for native/nativesdk to match host distros | ||
110 | # this helps to keep same expectations when using the SDK or | ||
111 | # build host versions during development | ||
112 | # | ||
113 | PACKAGECONFIG ?= "pcre2" | ||
109 | PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | 114 | PACKAGECONFIG_class-target ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" |
110 | # inherit manpages requires this to be present, however util-linux does not have | 115 | # inherit manpages requires this to be present, however util-linux does not have |
111 | # configuration options, and installs manpages always | 116 | # configuration options, and installs manpages always |
@@ -117,6 +122,8 @@ PACKAGECONFIG[systemd] = "--with-systemd --with-systemdsystemunitdir=${systemd_s | |||
117 | PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" | 122 | PACKAGECONFIG[pylibmount] = "--with-python=3 --enable-pylibmount,--without-python --disable-pylibmount,python3" |
118 | # Readline support | 123 | # Readline support |
119 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" | 124 | PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" |
125 | # PCRE support in hardlink | ||
126 | PACKAGECONFIG[pcre2] = ",,libpcre2" | ||
120 | 127 | ||
121 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" | 128 | EXTRA_OEMAKE = "ARCH=${TARGET_ARCH} CPU= CPUOPT= 'OPT=${CFLAGS}'" |
122 | 129 | ||