Skip to content

Commit

Permalink
Fix windows-arm64 DLL name
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 3, 2024
1 parent e00ecda commit d8d57ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d8d57ec

Please sign in to comment.