mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00: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:
parent
0abff65a55
commit
ca1b2ada34
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue