summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-12 13:53:04 +0000
committermidipix <writeonce@midipix.org>2025-06-12 13:53:04 +0000
commit477b8e5dc65792c745a524613f8eaafb029cdd26 (patch)
treebe58aeedf9bba73a5118eaa4b0cf8249990d8da4
parentf5bf1b010a3016e3809f35220435e8e647537b6a (diff)
downloadslibtool-477b8e5dc65792c745a524613f8eaafb029cdd26.tar.bz2
slibtool-477b8e5dc65792c745a524613f8eaafb029cdd26.tar.xz
m4/slibtool.m4: SLIBTOOL: avoid a trailing space when SLIBTOOL_FLAGS is not set.
-rw-r--r--m4/slibtool.m42
1 files changed, 1 insertions, 1 deletions
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])