Skip to content
Snippets Groups Projects
Commit 0884c9c6 authored by Bernhard Rosenkränzer's avatar Bernhard Rosenkränzer
Browse files

gettext: Don't use internal copies of libxml, libcroco and friends


Use system libraries - it's better for code size as well as security
(fix bugs in one place).

Signed-off-by: default avatarBernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
parent c1feec07
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
# SPDX-License-Identifier: Apache-2.0
# Use system libraries instead of internal bundled copies.
# It's better for code size and security (fix bugs in one place),
# and startup time of something only run on a developer machine
# hardly matters.
DEPENDS += "libxml2 libcroco glib-2.0"
do_configure:prepend () {
# Get rid of forcing bundled library versions
sed -i -e 's,gl_LIBXML(\[yes\]),gl_LIBXML([no]),g' -e 's,gl_LIBCROCO(\[yes\]),gl_LIBCROCO([no]),g' -e 's,gl_LIBGLIB(\[yes\]),gl_LIBGLIB([no]),g' ${S}/libtextstyle/gnulib-m4/gnulib-comp.m4
sed -i -e 's,force_included=yes,force_included=no,g' ${S}/configure ${S}/*/configure
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment