File: win-iconv-64.diff

package info (click to toggle)
hashcat 6.2.6%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 63,932 kB
  • sloc: lisp: 584,043; ansic: 372,246; perl: 24,890; cpp: 23,731; sh: 3,927; python: 868; makefile: 777
file content (32 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
diff --git a/Makefile b/Makefile
index 5937584..c4742a3 100644
--- a/Makefile
+++ b/Makefile
@@ -6,10 +6,10 @@
 # MKDIR_P, INSTALL, RM
 # prefix, BINARY_PATH, INCLUDE_PATH, LIBRARY_PATH
 
-CC ?= gcc
-AR ?= ar
-RANLIB ?= ranlib
-DLLTOOL ?= dlltool
+CC := x86_64-w64-mingw32-gcc
+AR := x86_64-w64-mingw32-ar
+RANLIB := x86_64-w64-mingw32-ranlib
+DLLTOOL := x86_64-w64-mingw32-dlltool
 
 MKDIR_P = mkdir -p
 INSTALL = install -c
@@ -19,10 +19,10 @@ RM = rm -f
 DEFAULT_LIBICONV_DLL ?= \"\"
 
 CFLAGS += -pedantic -Wall
-CFLAGS += -DUSE_LIBICONV_DLL
+#CFLAGS += -DUSE_LIBICONV_DLL
 CFLAGS += -DDEFAULT_LIBICONV_DLL=$(DEFAULT_LIBICONV_DLL)
 
-prefix ?= /usr/local
+prefix ?= /opt/win-iconv-64
 BINARY_PATH = $(prefix)/bin
 INCLUDE_PATH = $(prefix)/include
 LIBRARY_PATH = $(prefix)/lib