kumquat-buildroot/package/augeas/0002-examples-Makefile-do-not-force-static-linking-of-dump.patch
Jörg Krause d2db5a6c5b augeas: bump to version 1.9.0
Add two patches from upstream to fix a build issue when building an
example. Ideally, the examples should not be build at all. However,
upstream disliked the idea of adding configure options like
`--disable-examples` [1]. So we'll make do with the patches and force a
autoreconf.

Additionaly, the signature was checked and a hash for the license file
is added.

[1] https://github.com/hercules-team/augeas/issues/535

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-15 21:17:52 +01:00

34 lines
1.1 KiB
Diff

From c50b793f6ab17c192e048b4a06421be7c6381998 Mon Sep 17 00:00:00 2001
From: David Lutterkort <lutter@watzmann.net>
Date: Fri, 5 Jan 2018 14:48:15 -0800
Subject: [PATCH] * examples/Makefile.am: do not force static linking of dump
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Forcing static linking of 'dump' was accidentally left in from some
testing; there is no reason to force that specifically for dump.
Thanks to Jörg Krause for reporting the issue and verifying the fix.
Fixes https://github.com/hercules-team/augeas/issues/535
Backported from: c50b793f6ab17c192e048b4a06421be7c6381998
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
---
examples/Makefile.am | 1 -
1 file changed, 1 deletion(-)
diff --git a/examples/Makefile.am b/examples/Makefile.am
index a19597bf..928eb517 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -12,6 +12,5 @@ fadot_SOURCES = fadot.c
fadot_LDADD = $(top_builddir)/src/libfa.la $(GNULIB)
dump_sources = dump.c
-dump_LDFLAGS = -static
dump_LDADD = $(top_builddir)/src/libaugeas.la $(top_builddir)/src/libfa.la \
$(GNULIB)