1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-09 17:05:35 +02:00

add /FORCE:MULTIPLE to prevent failing to build on these errors:

(Link target) ->
         mini_detour.lib(AArch64InstPrinter.obj) : error LNK2005: __check_isa_support already defined in mini_detour.lib(AArch64Disassembler.obj) [D:\a\gse_fork\gse_fork\build\project\vs2022\win\api_experimental\api_experimental.vcxproj]
         mini_detour.lib(AArch64InstPrinter.obj) : error LNK2005: __check_isa_avx10_512 already defined in mini_detour.lib(AArch64Disassembler.obj) [D:\a\gse_fork\gse_fork\build\project\vs2022\win\api_experimental\api_experimental.vcxproj]
         mini_detour.lib(AArch64InstPrinter.obj) : error LNK2005: __check_arch_support already defined in mini_detour.lib(AArch64Disassembler.obj) [D:\a\gse_fork\gse_fork\build\project\vs2022\win\api_experimental\api_experimental.vcxproj]
         mini_detour.lib(AArch64InstPrinter.obj) : error LNK2005: _get_vlen already defined in mini_detour.lib(AArch64Disassembler.obj) [D:\a\gse_fork\gse_fork\build\project\vs2022\win\api_experimental\api_experimental.vcxproj]
         ..\..\..\..\win\vs2022\debug\experimental\x64\steam_api64.dll : fatal error LNK1169: one or more multiply defined symbols found [D:\a\gse_fork\gse_fork\build\project\vs2022\win\api_experimental\api_experimental.vcxproj]
This commit is contained in:
alex47exe 2024-11-17 01:20:49 +00:00
parent e4590426cd
commit 294042dcc6

View file

@ -550,7 +550,7 @@ filter { "action:vs*", }
}
linkoptions {
-- source of emittoolversioninfo: https://developercommunity.visualstudio.com/t/add-linker-option-to-strip-rich-stamp-from-exe-hea/740443
"/NOLOGO", "/emittoolversioninfo:no"
"/NOLOGO", "/FORCE:MULTIPLE", "/emittoolversioninfo:no"
}
-- GNU make common compiler/linker options
filter { "action:gmake*", }