2017-08-25 16:19:22 +02:00
|
|
|
|
|
|
|
[ 9s] bench.o: In function `BMK_benchMem':
|
|
|
|
[ 9s] /home/abuild/rpmbuild/BUILD/lz4-1.8.0/programs/bench.c:221: undefined reference to `LZ4_XXH64'
|
|
|
|
|
|
|
|
---
|
|
|
|
lib/xxhash.h | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2019-06-08 21:50:47 +02:00
|
|
|
Index: lz4-1.9.1/lib/xxhash.h
|
2017-08-25 16:19:22 +02:00
|
|
|
===================================================================
|
2019-06-08 21:50:47 +02:00
|
|
|
--- lz4-1.9.1.orig/lib/xxhash.h
|
|
|
|
+++ lz4-1.9.1/lib/xxhash.h
|
|
|
|
@@ -107,7 +107,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH
|
|
|
|
# define XXH_PUBLIC_API static
|
2017-08-25 16:19:22 +02:00
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
-# define XXH_PUBLIC_API /* do nothing */
|
2019-06-08 21:50:47 +02:00
|
|
|
+# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */
|
|
|
|
#endif /* XXH_INLINE_ALL || XXH_PRIVATE_API */
|
2017-08-25 16:19:22 +02:00
|
|
|
|
2019-06-08 21:50:47 +02:00
|
|
|
/*! XXH_NAMESPACE, aka Namespace Emulation :
|