Since this feature is depending on wchar support we only
cache is when we have libc-posix-clang-wchar enabled
Signed-off-by: Khem Raj <raj.khem@gmail.com>
require findutils.inc
-PR = "r1"
+PR = "r2"
SRC_URI += "file://01-27017.patch \
file://02-28824.patch \
SRC_URI[sha256sum] = "434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a"
# http://savannah.gnu.org/bugs/?27299
-EXTRA_OECONF += "gl_cv_func_wcwidth_works=yes"
+CACHED_CONFIGUREVARS += "${@base_contains('DISTRO_FEATURES', 'libc-posix-clang-wchar', 'gl_cv_func_wcwidth_works=yes', '', d)}"
do_install_append () {
if [ -e ${D}${bindir}/find ]; then