From 609018e02b4ea5662b8d57c6936c6255b852bbe9 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Sat, 25 Jan 2025 17:20:32 +0000
Subject: slibtool.m4: fix embedding of the SLIBTOOL_SYSROOT & SLIBTOOL_FLAGS
 variables.

---
 m4/slibtool.m4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'm4')

diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index e2e6ad5..b1ed75b 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -242,7 +242,7 @@ slibtool_set_flavor()
 
 		_/*)
 			SLIBTOOL_SYSROOT="--sysroot=${slibtool_sysroot}"
-			SLIBTOOL="${SLIBTOOL} \$(SLIBTOOL_SYSROOT)"
+			SLIBTOOL="${SLIBTOOL} ${SLIBTOOL_SYSROOT}"
 			;;
 
 		*)
@@ -536,7 +536,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}"
 
 AC_SUBST([LIBTOOL])
 AC_SUBST([SLIBTOOL])
-- 
cgit v1.2.3