summaryrefslogtreecommitdiff
blob: a0d55d885fd863975523dc18006af1a1ee111d47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Bug: https://bugs.gentoo.org/858836

From: orbea <orbea@riseup.net>
Date: Tue, 19 Jul 2022 07:46:36 -0700
Subject: [PATCH] build: Fix the build with slibtool

Adding LT_INIT to configure.in generates the libtool script in the build
directory which is required by rlibtool to determine if the build is
shared or static.

--- a/configure.in
+++ b/configure.in
@@ -398,7 +398,7 @@ AC_PATH_PROG(RSYNC, rsync)
 AC_PATH_PROG(SVN, svn)
 AC_PROG_AWK
 AC_PROG_LN_S
-AC_CHECK_TOOL(RANLIB, ranlib, true)
+LT_INIT
 dnl AC_PATH_PROG(PERL_PATH, perl)
 AC_CHECK_PROGS(LYNX_PATH,[lynx links elinks], [lynx])