mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[CMAKE] Replace DIVISION_SLASH unicode character with SOLIDUS
This fixes the build on some machines. In addition, replace
the hardcoded "LINK /LIB" with ${CMAKE_AR}
Addendum to b96e88894a
This commit is contained in:
@@ -320,9 +320,9 @@ function(generate_import_lib _libname _dllname _spec_file)
|
||||
add_custom_command(
|
||||
OUTPUT ${_libfile_tmp}
|
||||
COMMAND
|
||||
LINK /LIB ∕NOLOGO /MACHINE:${WINARCH}
|
||||
${CMAKE_AR} /NOLOGO /MACHINE:${WINARCH}
|
||||
$<TARGET_PROPERTY:${_libname},STATIC_LIBRARY_FLAGS> $<TARGET_PROPERTY:${_libname},STATIC_LIBRARY_OPTIONS>
|
||||
∕DEF:${_def_file} /OUT:${_libfile_tmp} ${_asm_stubs_file}.obj
|
||||
/DEF:${_def_file} /OUT:${_libfile_tmp} ${_asm_stubs_file}.obj
|
||||
DEPENDS ${_asm_stubs_file}.obj ${_def_file})
|
||||
|
||||
# By giving the import lib as an object input, LIB extracts the relevant object files and make a new library.
|
||||
|
||||
Reference in New Issue
Block a user