From 477b8e5dc65792c745a524613f8eaafb029cdd26 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 12 Jun 2025 13:53:04 +0000 Subject: m4/slibtool.m4: SLIBTOOL: avoid a trailing space when SLIBTOOL_FLAGS is not set. --- m4/slibtool.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index dab1e6a..0d7c458 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -543,7 +543,7 @@ _SLIBTOOL_ARG_WITH([sysroot],[absolute path to the target's sysroot],[slibtool_s # -------------------- slibtool_set_flavor LIBTOOL='$(SLIBTOOL)' -SLIBTOOL="${SLIBTOOL} ${SLIBTOOL_FLAGS}" +SLIBTOOL="${SLIBTOOL}${SLIBTOOL_FLAGS:+ }${SLIBTOOL_FLAGS}" AC_SUBST([LIBTOOL]) AC_SUBST([SLIBTOOL]) -- cgit v1.2.3