Skip to content

Commit bc1c8ae

Browse files
committed
fix(mingw): include argon2 runtime dll
* Adds Argon2 DLL globbing to the MinGW runtime dependency list * Prevents missing Argon2 DLLs in packaged/bundled Windows builds
1 parent f6fd223 commit bc1c8ae

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ if(MINGW)
234234
file(GLOB _libDllPath "${MSYS64_BIN_PATH}/libcrypto-*.dll")
235235
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})
236236

237+
unset(_libDllPath)
238+
file(GLOB _libDllPath "${MSYS64_BIN_PATH}/libargon2*.dll")
239+
list(APPEND ALL_RUNTIME_DEP_PATH_LIST ${_libDllPath})
240+
237241
# dll with only name
238242
set(ALL_RUNTIME_DLL_FILES "")
239243

0 commit comments

Comments
 (0)