Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
25 lines
663 B
Diff
25 lines
663 B
Diff
diff --git a/Makefile b/Makefile
|
|
index eca86a9..f11931b 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,5 +1,5 @@
|
|
# Common variables
|
|
-CFLAGS = -g -static -O2 -D_GNU_SOURCE -DARCH_LITTLE_ENDIAN=1
|
|
+CFLAGS = -g -O2 -D_GNU_SOURCE -DARCH_LITTLE_ENDIAN=1
|
|
TARGET = rar2hashcat
|
|
|
|
# Variables for Linux target
|
|
diff --git a/base64_convert.c b/base64_convert.c
|
|
index 0d2635d..b101e3c 100644
|
|
--- a/base64_convert.c
|
|
+++ b/base64_convert.c
|
|
@@ -163,7 +163,7 @@ static char *strnzcpy(char *dst, const char *src, int size)
|
|
return dst;
|
|
}
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) || defined(__APPLE__)
|
|
static char *strupr(char *s)
|
|
{
|
|
unsigned char *ptr = (unsigned char *)s;
|