X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/062a258f588a3eea1f4d2154069828cce77e55bf..b40bc2899b2e399c07e4b0b1dda0f9cfcb9c8b5a:/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