Skip to content

Commit 89a99fc

Browse files
authored
Fix windows-arm64 DLL name (#1031)
1 parent 76243b2 commit 89a99fc

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

native/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ include Makefile.common
1919

2020
.PHONY: all package native native-all deploy crossbuild ducible clean-native
2121

22-
linux-armv6-digest:=@sha256:7bad6ab302af34bdf6634c8c2b02c8dc6ac932c67da9ecc199c549ab405e971e
23-
linux-x86-digest:=:latest
24-
windows-static-x86-digest:=@sha256:99d7069789560ef77a7504ead4a2b5e3c245cb45a45f964c74fecbf649398d3a
22+
linux-armv6-digest:=@sha256:a90a7deda7f561932d9ad658f8d661d17eeb44f4e7f7024ac087db1d0b95c6f5
23+
linux-x86-digest:=@sha256:fbe45fcb0c2ce82f84a998a1d37d67b3906502723ed89f8191c3243d9d835d17
24+
windows-static-x86-digest:=@sha256:b205eeeafaef4f44482d16254670da815d5679b03cf8e51e4adc3539d1c4a9c0
2525
windows-static-x64-digest:=@sha256:f159861bc80b29e5dafb223477167bec53ecec6cdacb051d31e90c5823542100
26-
windows-arm64-digest:=@sha256:f4b3c1a49ec8b53418cef1499dc3f9a54a5570b7a3ecdf42fc8c83eb94b01b7d
26+
windows-arm64-digest:=@sha256:5a8e872064c5f600386e4124f9425d3e2ce2e168cadb6626655b2d69ed748849
2727
cross-build-digest:=@sha256:8dbaa86462270db93ae1b1b319bdd88d89272faf3a68632daf4fa36b414a326e
2828
freebsd-crossbuild-digest:=@sha256:cda62697a15d8bdc0bc26e780b1771ee78f12c55e7d5813e62c478af5a747c43
29-
mcandre-snek-digest:=@sha256:9f84e9fcdf66daafc1f1c3fb772a6c97977714e17800aeac2e3bbe5dc5039dd0
29+
mcandre-snek-digest:=@sha256:e5aaf20daece19796dcd0553feb971143b71cc67d13d79d73649cc689fb87287
3030

3131
all: package
3232

native/Makefile.common

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# os=Default is meant to be generic unix/linux
1919

20-
known_targets := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-arm64 Linux-ppc64 Linux-riscv64 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
20+
known_targets := Linux-x86 Linux-x86_64 Linux-arm Linux-armv6 Linux-armv7 Linux-android-arm Linux-arm64 Linux-ppc64 Linux-riscv64 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
2121
target := $(OS_NAME)-$(OS_ARCH)
2222

2323
ifeq (,$(findstring $(strip $(target)),$(known_targets)))
@@ -152,6 +152,11 @@ Windows-x86_64_CCFLAGS := -D_JNI_IMPLEMENTATION_ -Itarget/inc -Itarget/inc/
152152
Windows-x86_64_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc
153153
Windows-x86_64_LIBNAME := jlinenative.dll
154154

155+
Windows-arm64_CC := $(CROSS_PREFIX)gcc
156+
Windows-arm64_STRIP := $(CROSS_PREFIX)strip
157+
Windows-arm64_CCFLAGS := -D_JNI_IMPLEMENTATION_ -Itarget/inc -Itarget/inc/windows -Os
158+
Windows-arm64_LINKFLAGS := -Wl,--kill-at -shared -static-libgcc
159+
Windows-arm64_LIBNAME := jlinenative.dll
155160

156161
CC := $($(target)_CC)
157162
STRIP := $($(target)_STRIP)
-404 Bytes
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)