forked from pool/lz4
22 lines
804 B
Diff
22 lines
804 B
Diff
|
|
||
|
[ 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(-)
|
||
|
|
||
|
Index: lz4-1.8.0/lib/xxhash.h
|
||
|
===================================================================
|
||
|
--- lz4-1.8.0.orig/lib/xxhash.h
|
||
|
+++ lz4-1.8.0/lib/xxhash.h
|
||
|
@@ -105,7 +105,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH
|
||
|
# define XXH_PUBLIC_API static /* this version may generate warnings for unused static functions; disable the relevant warning */
|
||
|
# endif
|
||
|
#else
|
||
|
-# define XXH_PUBLIC_API /* do nothing */
|
||
|
+# define XXH_PUBLIC_API __attribute__((visibility("default"))) /* do nothing */
|
||
|
#endif /* XXH_PRIVATE_API */
|
||
|
|
||
|
/*!XXH_NAMESPACE, aka Namespace Emulation :
|