about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-06-05 15:52:42 +0800
committerGitHub <noreply@github.com>2025-06-05 09:52:42 +0200
commit294178b598408c064567fa733ccac737e4231468 (patch)
tree2b34f33c52b70daa9c5fbcb0795811f4dbdf1a90
parente9242b884980187cb2090ae6a589e74da9613311 (diff)
downloadbox64-294178b598408c064567fa733ccac737e4231468.tar.gz
box64-294178b598408c064567fa733ccac737e4231468.zip
[WOW64] The official file name is wowbox64.dll (#2709)
-rw-r--r--.github/workflows/release.yml2
-rw-r--r--docs/COMPILE.md2
-rw-r--r--wow64/CMakeLists.txt5
-rw-r--r--wow64/wowbox64.def2
4 files changed, 8 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 7abcf85b..c972f98f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -344,4 +344,4 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: wowbox64-${{ matrix.type }}
-          path: build/wowbox64-prefix/src/wowbox64-build/libwowbox64.dll
\ No newline at end of file
+          path: build/wowbox64-prefix/src/wowbox64-build/wowbox64.dll
\ No newline at end of file
diff --git a/docs/COMPILE.md b/docs/COMPILE.md
index 9f8df2eb..14cba09d 100644
--- a/docs/COMPILE.md
+++ b/docs/COMPILE.md
@@ -33,7 +33,7 @@ If you also want binfmt integration on 32bits binaries, you also need to add `-D
 ### Note about WowBox64

 

 A highly experimantal subproject named WowBox64 has been added as a build option, add `-DWOW64=ON` to the cmake command to enable it.

-It will build alongside the regular Box64, and produce a `libwowbox64.dll` file in `build/wowbox64-prefix/src/wowbox64-build/` directory.

+It will build alongside the regular Box64, and produce a `wowbox64.dll` file in `build/wowbox64-prefix/src/wowbox64-build/` directory.

 

 ### Note about binfmt_misc on Android

 

diff --git a/wow64/CMakeLists.txt b/wow64/CMakeLists.txt
index 13d7947c..73fdc4f0 100644
--- a/wow64/CMakeLists.txt
+++ b/wow64/CMakeLists.txt
@@ -137,6 +137,11 @@ import_dll(wow64)
 add_compile_definitions(DYNAREC ARM64)
 
 target_link_options(wowbox64 PRIVATE -nostdlib -nodefaultlibs -lclang_rt.builtins-aarch64 -Wl,--image-base,0x004c0000)
+set_target_properties(wowbox64 PROPERTIES
+    PREFIX ""
+    SUFFIX ".dll"
+    OUTPUT_NAME "wowbox64"
+)
 
 add_custom_command(
     TARGET wowbox64 POST_BUILD
diff --git a/wow64/wowbox64.def b/wow64/wowbox64.def
index 89a459d7..dd1d0dc2 100644
--- a/wow64/wowbox64.def
+++ b/wow64/wowbox64.def
@@ -1,4 +1,4 @@
-LIBRARY libwowbox64.dll
+LIBRARY wowbox64.dll
 
 EXPORTS
   BTCpuFlushInstructionCache2