From e496ed1f66b04f52222b9f6fb83ca8424855ed15 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 31 Mar 2025 03:26:43 +0000 Subject: slibtoolize: prefer libsltdl unless invoked with the --system-ltdl argument. --- m4/slibtool.m4 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'm4/slibtool.m4') diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index b1ed75b..355b8c4 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -253,6 +253,12 @@ slibtool_set_flavor() ;; esac + case "_${slibtool_prefer_sltdl:-}" in + '_yes') + SLIBTOOL="${SLIBTOOL} --prefer-sltdl" + ;; + esac + # drop-in replacement enable_shared=${slibtool_enable_shared} enable_static=${slibtool_enable_static} @@ -448,6 +454,7 @@ AC_DEFUN([SLIBTOOL_INIT],[ AC_BEFORE([SLIBTOOL_LANG]) AC_REQUIRE([SLIBTOOL_PREREQ]) AC_REQUIRE([_SLIBTOOL_DEFAULTS]) +AC_REQUIRE([_SLIBTOOL_SLTDL_OPTION]) AC_REQUIRE([_SLIBTOOL_SET_FLAVOR]) AC_REQUIRE([_SLIBTOOL_ARGUMENT_HANDLING]) -- cgit v1.2.3