From d8d57ecc62e687ea36cee567f1a6971452edd457 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 3 Jul 2024 15:27:35 +0200 Subject: [PATCH] Fix windows-arm64 DLL name --- Makefile.common | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index 24e3b131..3f113806 100644 --- a/Makefile.common +++ b/Makefile.common @@ -14,7 +14,7 @@ # os=Default is meant to be generic unix/linux -known_targets := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-ppc64 Mac-x86 Mac-x86_64 Mac-arm64 DragonFly-x86_64 FreeBSD-x86_64 OpenBSD-x86_64 Windows-x86 Windows-x86_64 SunOS-sparcv9 HPUX-ia64_32 +known_targets := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-ppc64 Mac-x86 Mac-x86_64 Mac-arm64 DragonFly-x86_64 FreeBSD-x86_64 OpenBSD-x86_64 Windows-x86 Windows-x86_64 Windows-arm64 SunOS-sparcv9 HPUX-ia64_32 target := $(OS_NAME)-$(OS_ARCH) ifeq (,$(findstring $(strip $(target)),$(known_targets))) @@ -162,6 +162,11 @@ Windows-x86_64_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc Windows-x86_64_LIBNAME := jansi.dll Windows-x86_64_JANSI_FLAGS := +Windows-arm64_CC := $(CROSS_PREFIX)gcc +Windows-arm64_STRIP := $(CROSS_PREFIX)strip +Windows-arm64_CCFLAGS := -D_JNI_IMPLEMENTATION_ -Itarget/inc -Itarget/inc/windows -Os +Windows-arm64_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc +Windows-arm64_LIBNAME := jansi.dll CC := $($(target)_CC) STRIP := $($(target)_STRIP)