summaryrefslogtreecommitdiff
blob: c11d0baa5639e9a81ff615eb70c0a49160ed0c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Nur hiredis-1.0.1.orig/setup.py hiredis-1.0.1/setup.py
--- hiredis-1.0.1.orig/setup.py	2019-11-13 11:38:29.000000000 +0100
+++ hiredis-1.0.1/setup.py	2020-03-19 08:18:53.414214592 +0100
@@ -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",