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