summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/autotools.mk1
1 files changed, 1 insertions, 0 deletions
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