mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-08 18:58:29 -05:00
Properly rename argon2 symbols on Win32 builds
This commit is contained in:
parent
3c274135ce
commit
e17bee8e31
@ -21,7 +21,9 @@ if (MINGW)
|
|||||||
message(STATUS "Patching libargon2...\n")
|
message(STATUS "Patching libargon2...\n")
|
||||||
execute_process(COMMAND objcopy
|
execute_process(COMMAND objcopy
|
||||||
--redefine-sym argon2_hash=libargon2_argon2_hash
|
--redefine-sym argon2_hash=libargon2_argon2_hash
|
||||||
|
--redefine-sym _argon2_hash=_libargon2_argon2_hash
|
||||||
--redefine-sym argon2_error_message=libargon2_argon2_error_message
|
--redefine-sym argon2_error_message=libargon2_argon2_error_message
|
||||||
|
--redefine-sym _argon2_error_message=_libargon2_argon2_error_message
|
||||||
${ARGON2_SYS_LIBRARIES} ${CMAKE_BINARY_DIR}/libargon2_patched.a
|
${ARGON2_SYS_LIBRARIES} ${CMAKE_BINARY_DIR}/libargon2_patched.a
|
||||||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
|
||||||
find_library(ARGON2_LIBRARIES libargon2_patched.a PATHS ${CMAKE_BINARY_DIR} NO_DEFAULT_PATH)
|
find_library(ARGON2_LIBRARIES libargon2_patched.a PATHS ${CMAKE_BINARY_DIR} NO_DEFAULT_PATH)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user