diff options
Diffstat (limited to 'dev-python/hiredis/files')
-rw-r--r-- | dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch b/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch new file mode 100644 index 000000000000..74f14cdc00b4 --- /dev/null +++ b/dev-python/hiredis/files/hiredis-2.0.0-system-libs.patch @@ -0,0 +1,14 @@ +--- hiredis-2.0.0/setup.py ++++ hiredis-2.0.0/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 ("alloc", "read", "sds")]), +- include_dirs=["vendor"]) ++ sources=sorted(glob.glob("src/*.c")), ++ libraries=["hiredis"]) + + setup( + name="hiredis", |