summaryrefslogtreecommitdiff
path: root/m4/slibtool.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/slibtool.m4')
-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])