summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-31 22:45:54 +0000
committermidipix <writeonce@midipix.org>2024-03-31 22:45:54 +0000
commit567fcb650b52ba923180b8894be199500603ce7a (patch)
treedf22b6e09fa9f8e0d52b1aedbadbf6a55385ecec
parentc7368741d167922bcc339bc751621e8381ab7d43 (diff)
downloadslibtool-567fcb650b52ba923180b8894be199500603ce7a.tar.bz2
slibtool-567fcb650b52ba923180b8894be199500603ce7a.tar.xz
slibtool.m4: added SLIBTOOL_FLAGS support.
-rw-r--r--m4/slibtool.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4
index 6b7b680..1f2c857 100644
--- a/m4/slibtool.m4
+++ b/m4/slibtool.m4
@@ -518,9 +518,11 @@ _SLIBTOOL_ARG_WITH([sysroot],[absolute path to the target's sysroot],[slibtool_s
# --------------------
slibtool_set_flavor
LIBTOOL='$(SLIBTOOL)'
+SLIBTOOL="${SLIBTOOL} \$(SLIBTOOL_FLAGS)"
AC_SUBST([LIBTOOL])
AC_SUBST([SLIBTOOL])
+AC_SUBST([SLIBTOOL_FLAGS])
AC_SUBST([SLIBTOOL_SYSROOT])
])