blob: a47997d456d1b05fb58ef7ee987d83d4b4b98425 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Fix compiling with shared liblzf library by not mangling the needed symbols
--- a/src/VBox/Runtime/common/zip/zip.cpp 2022-10-07 01:11:55.000000000 +0800
+++ b/src/VBox/Runtime/common/zip/zip.cpp 2022-10-19 22:35:37.996450458 +0800
@@ -61,7 +61,9 @@
# include <zlib.h>
#endif
#ifdef RTZIP_USE_LZF
+extern "C" {
# include <lzf.h>
+}
# include <iprt/crc.h>
#endif
#ifdef RTZIP_USE_LZJB
|