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