From e496ed1f66b04f52222b9f6fb83ca8424855ed15 Mon Sep 17 00:00:00 2001
From: midipix <writeonce@midipix.org>
Date: Mon, 31 Mar 2025 03:26:43 +0000
Subject: slibtoolize: prefer libsltdl unless invoked with the --system-ltdl
 argument.

---
 src/skin/slbt_skin_stoolie.c | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'src/skin/slbt_skin_stoolie.c')

diff --git a/src/skin/slbt_skin_stoolie.c b/src/skin/slbt_skin_stoolie.c
index 3a8cdb1..3140d22 100644
--- a/src/skin/slbt_skin_stoolie.c
+++ b/src/skin/slbt_skin_stoolie.c
@@ -54,5 +54,10 @@ const slbt_hidden struct argv_option slbt_stoolie_options[] = {
 			"compatibility, and is currently a no-op, thereby "
 			"deferring -lltdl to the system installed library."},
 
+	{"system-ltdl",0,TAG_STLE_SYSTEM_LTDL,ARGV_OPTARG_NONE,0,0,0,
+			"Do not enforce the use of libsltdl. "
+			"Without this option, --prefer-sltdl will be added to "
+			"slibtool's configured arguments."},
+
 	{0,0,0,0,0,0,0,0}
 };
-- 
cgit v1.2.3