aboutsummaryrefslogtreecommitdiffstats
path: root/main/py3-hiredis/system-hiredis.patch
blob: e5aaa28bc4fb49ecc70dc4a4c0df7cf96913526f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- hiredis-1.0.0/setup.py
+++ hiredis-1.0.0_p/setup.py
@@ -11,9 +11,8 @@
   return module.__version__
 
 ext = Extension("hiredis.hiredis",
-  sources=sorted(glob.glob("src/*.c") +
-                 ["vendor/hiredis/%s.c" % src for src in ("read", "sds")]),
-  include_dirs=["vendor"])
+  sources=sorted(glob.glob("src/*.c")),
+  libraries=["hiredis"])
 
 setup(
   name="hiredis",