Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used

pull/2501/head
Jens Steube 4 years ago
parent ca8a8b33e6
commit 5fab483cf0

@ -20,6 +20,7 @@
## Improvements
##
- Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used
- Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders
- OpenCL Kernels: Added pure kernels for hash-mode 600 (BLAKE2b-512)
- OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal

@ -8,8 +8,8 @@
#include <LzmaDec.h>
#include <Lzma2Dec.h>
#include "contrib/minizip/ioapi.h"
#include "contrib/minizip/unzip.h"
#include "minizip/ioapi.h"
#include "minizip/unzip.h"
int hc_lzma1_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);
int hc_lzma2_decompress (const unsigned char *in, SizeT *in_len, unsigned char *out, SizeT *out_len, const char *props);

@ -218,7 +218,7 @@ LFLAGS += -llzmasdk
endif
# ZLIB
CFLAGS += -I$(DEPS_ZLIB_PATH)
CFLAGS += -I$(DEPS_ZLIB_PATH) -I$(DEPS_ZLIB_PATH)/contrib
ifeq ($(USE_SYSTEM_ZLIB),1)
LFLAGS += -lz -lminizip
endif

Loading…
Cancel
Save