X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/062a258f588a3eea1f4d2154069828cce77e55bf..9e28a8040bc437e2dc34bb9f9fcd51100cd8a4e7:/include/autotools.mk diff --git a/include/autotools.mk b/include/autotools.mk index e1535d0b1..c941a4949 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -32,6 +32,7 @@ update_libtool_ucxx = \ ) \ $(call update_libtool_common) +autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2)) # prevent libtool from linking against host development libraries define libtool_fixup_libdir