h5py/h5py-system-lzf.patch

38 lines
1.1 KiB
Diff
Raw Normal View History

2018-06-12 17:26:23 +00:00
diff --git a/lzf/lzf_filter.c b/lzf/lzf_filter.c
2020-05-17 11:00:48 +00:00
index 1b973be..67af783 100644
2018-06-12 17:26:23 +00:00
--- a/lzf/lzf_filter.c
+++ b/lzf/lzf_filter.c
2012-01-24 10:41:07 +00:00
@@ -26,7 +26,7 @@
#include <stdio.h>
#include <errno.h>
#include "hdf5.h"
-#include "lzf/lzf.h"
+#include "lzf.h"
#include "lzf_filter.h"
/* Our own versions of H5Epush_sim, as it changed in 1.8 */
2018-06-12 17:26:23 +00:00
diff --git a/setup_build.py b/setup_build.py
2020-05-17 11:00:48 +00:00
index c0e9a28..30ec420 100644
2018-06-12 17:26:23 +00:00
--- a/setup_build.py
+++ b/setup_build.py
2020-05-17 11:00:48 +00:00
@@ -33,9 +33,7 @@ MODULES = ['defs','_errors','_objects','_proxy', 'h5fd', 'h5z',
'h5pl']
2015-01-07 18:56:20 +00:00
-EXTRA_SRC = {'h5z': [ localpath("lzf/lzf_filter.c"),
- localpath("lzf/lzf/lzf_c.c"),
- localpath("lzf/lzf/lzf_d.c")]}
+EXTRA_SRC = {'h5z': [ localpath("lzf/lzf_filter.c")]}
2015-01-07 18:56:20 +00:00
2018-06-12 17:26:23 +00:00
FALLBACK_PATHS = {
'include_dirs': [],
2020-05-17 11:00:48 +00:00
@@ -43,7 +41,7 @@ FALLBACK_PATHS = {
2018-06-12 17:26:23 +00:00
}
2017-03-20 19:44:39 +00:00
COMPILER_SETTINGS = {
- 'libraries' : ['hdf5', 'hdf5_hl'],
+ 'libraries' : ['hdf5', 'hdf5_hl', 'lzf'],
'include_dirs' : [localpath('lzf')],
'library_dirs' : [],
'define_macros' : [('H5_USE_16_API', None)]