From 287781356c705fabafdc3c358393d7e67dd99e54 Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Mon, 13 Nov 2017 18:43:48 +0000 Subject: [PATCH] intercept: Help Fedora by redirecting bzip2 automatically Fedora doesn't seem to have `libbbz2.so.1` so let's intercept requests for this guy and send them to the proper `libbz2.so.1.0.6`. This fixes #38. Signed-off-by: Ikey Doherty --- src/intercept/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/intercept/main.c b/src/intercept/main.c index 78ae8d5..ae432bc 100644 --- a/src/intercept/main.c +++ b/src/intercept/main.c @@ -259,6 +259,8 @@ static const char *vendor_transmute_source[] = { /* invalid curls */ "libcurl-gnutls.so.3", "libcurl.so.3", + + "libbz2.so.1", }; /** @@ -293,6 +295,8 @@ static const char *vendor_transmute_target[] = { /* invalid curls */ "libcurl-gnutls.so.4", "libcurl.so.4", + + "libbz2.so.1.0.6", }; /**