From 93a93e9a3b53c1a73142a305ea1f8136846942ee Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 22 Dec 2021 14:08:05 +0000 Subject: gentoo resync : 22.12.2021 --- app-containers/crun/files/libcrun-linkage.patch | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 app-containers/crun/files/libcrun-linkage.patch (limited to 'app-containers/crun/files') diff --git a/app-containers/crun/files/libcrun-linkage.patch b/app-containers/crun/files/libcrun-linkage.patch new file mode 100644 index 000000000000..72156ac931c8 --- /dev/null +++ b/app-containers/crun/files/libcrun-linkage.patch @@ -0,0 +1,29 @@ +From 7cfdf094071fcff038bab573c1eeee599fa17b16 Mon Sep 17 00:00:00 2001 +From: Georgy Yakovlev +Date: Mon, 2 Aug 2021 03:53:25 -0700 +Subject: [PATCH] Makefile.am: link libcrun to $(FOUND_LIBS) + +otherwise libcrun consumers fail at runtime with +symbol lookup errors + +Closes: https://github.com/containers/crun/issues/711 +Issue: https://github.com/containers/crun/issues/340 +Downstream-bug: https://bugs.gentoo.org/717750 +Signed-off-by: Georgy Yakovlev +--- + Makefile.am | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile.am b/Makefile.am +index 150e933a..7e5a4406 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -46,7 +46,7 @@ libocispec/libocispec.la: + + libcrun_la_SOURCES = $(libcrun_SOURCES) + libcrun_la_CFLAGS = -I $(abs_top_builddir)/libocispec/src -I $(abs_top_srcdir)/libocispec/src -fvisibility=hidden +-libcrun_la_LIBADD = libocispec/libocispec.la $(maybe_libyajl.la) ++libcrun_la_LIBADD = libocispec/libocispec.la $(FOUND_LIBS) $(maybe_libyajl.la) + libcrun_la_LDFLAGS = -Wl,--version-script=$(abs_top_srcdir)/libcrun.lds + + # build a version with all the symbols visible for testing -- cgit v1.2.3