summaryrefslogtreecommitdiff
path: root/app-office/gnumeric/files/gnumeric-1.12.52-slibtool.patch
blob: 43e869afa7a92f6283ba07bab8c07e7a4ae90b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Upstream-PR: https://gitlab.gnome.org/GNOME/gnumeric/-/merge_requests/25
From 3031cc85718dde12a34be46330ef3b8c885f4f9e Mon Sep 17 00:00:00 2001
From: orbea <orbea@riseup.net>
Date: Tue, 10 May 2022 15:52:57 -0700
Subject: [PATCH] plugins/excelplugins: Remove erroneous .libs

The .libs directory is for internal usage by the libtool
implementation only.

When build gnumeric with slibtool instead of GNU libtool this
will be a failure where slibtool is far more strict about user
errors.

rdlibtool: error logged in slbt_exec_link_create_dep_file(), line 1091: path not found: ../../src/.libs/.libs/libspreadsheet.a.disabled.

Gentoo Bug: https://bugs.gentoo.org/791610
---
 plugins/excelplugins/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/excelplugins/Makefile.am b/plugins/excelplugins/Makefile.am
index 3bc8f70b0..91e2fa765 100644
--- a/plugins/excelplugins/Makefile.am
+++ b/plugins/excelplugins/Makefile.am
@@ -7,7 +7,7 @@ gnumeric_plugin_excelpluginsdir = $(gnumeric_plugindir)/excelplugins
 xmldir = $(gnumeric_plugin_excelpluginsdir)
 gnumeric_plugin_excelplugins_LTLIBRARIES = plugin.la xlcall32.la
 plugin_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
-plugin_la_LIBADD = ../../src/.libs/libspreadsheet.la
+plugin_la_LIBADD = ../../src/libspreadsheet.la
 plugin_la_SOURCES = excelplugins.c
 xlcall32_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
 xlcall32_la_SOURCES = xlcall32_emulation.c win32replacements.h xlcall.h
-- 
GitLab