1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-26 00:18:36 +00:00

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

This commit is contained in:
Jens Steube 2020-07-21 12:41:20 +02:00
parent ca8a8b33e6
commit 5fab483cf0
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -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