File 0001-Use-system-libhiredis.patch of Package python-hiredis
From ae18fb4390098eefc90442f9a7944f136758bbc4 Mon Sep 17 00:00:00 2001
From: Apollon Oikonomopoulos <apoikos@debian.org>
Date: Wed, 2 Jul 2014 10:51:27 +0300
Subject: Use system libhiredis
Patch setup.py to not build hiredis in vendor/
Forwarded: no
Last-Updated: 2022-01-15
Patch-Name: 0001-Use-system-libhiredis.patch
---
setup.py 2022-01-15 16:17:07.715728053 +0100 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/setup.py 2021-03-28 17:11:23.000000000 +0200
+++ b/setup.py 2022-01-15 16:17:07.715728053 +0100
@@ -13,7 +13,7 @@ def version():
ext = Extension("hiredis.hiredis",
sources=sorted(glob.glob("src/*.c") +
["vendor/hiredis/%s.c" % src for src in ("alloc", "read", "sds")]),
- include_dirs=["vendor"])
+ extra_link_args=["-lhiredis"])
setup(
name="hiredis",