package/libxml2: support python bindings
PATCH 1/1 package/libxml2: support python bindings
Signed-off-by Takumi Takahashi <[email protected]>
--- package/libxml2/libxml2.mk | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-)
package/libxml2/libxml2.mk +16 -2
@@ -20,12 +20,26 @@ ifeq ($(BR2_m68k_cf),y) LIBXML2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mxgot" endif -LIBXML2_CONF_OPTS = --with-gnu-ld --without-python --without-debug +LIBXML2_CONF_OPTS = --with-gnu-ld --without-debug HOST_LIBXML2_DEPENDENCIES = host-pkgconf LIBXML2_DEPENDENCIES = host-pkgconf -HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma --without-python +HOST_LIBXML2_CONF_OPTS = --without-zlib --without-lzma + +ifeq ($(BR2_PACKAGE_PYTHON3),y) +LIBXML2_DEPENDENCIES += python3 +LIBXML2_CONF_OPTS += --with-python +else +LIBXML2_CONF_OPTS += --without-python +endif + +ifeq ($(BR2_PACKAGE_HOST_PYTHON3),y) +HOST_LIBXML2_DEPENDENCIES += host-python3 +HOST_LIBXML2_CONF_OPTS += --with-python +else +HOST_LIBXML2_CONF_OPTS += --without-python +endif ifeq ($(BR2_PACKAGE_ICU),y) LIBXML2_DEPENDENCIES += icu
Signature · 6 lines
2.42.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Takumi" == Takumi Takahashi <[email protected]> writes:
Signed-off-by Takumi Takahashi <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot