From a574fd7bdfd0340946c566e336afedd7fd443e5c Mon Sep 17 00:00:00 2001 From: iahung2 <156915310+iahung2@users.noreply.github.com> Date: Fri, 22 Mar 2024 15:16:00 +0700 Subject: [PATCH] Update premake4.lua --- premake4.lua | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/premake4.lua b/premake4.lua index 2c7371904..2cab9ac11 100644 --- a/premake4.lua +++ b/premake4.lua @@ -524,7 +524,11 @@ function build_link_configuration( package_name, use_ee_icon ) if os.is("windows") and not is_vs() then if ( true == use_ee_icon ) then - linkoptions { "../../bin/assets/icon/ee.res" } + if os.is64bit() then + linkoptions { "../../bin/assets/icon/ee.x64.res" } + else + linkoptions { "../../bin/assets/icon/ee.res" } + end end end @@ -1479,7 +1483,11 @@ solution "eepp" links { "bsd" } end if os.is("windows") and not is_vs() then - linkoptions { "../../bin/assets/icon/ecode.res" } + if os.is64bit() then + linkoptions { "../../bin/assets/icon/ecode.x64.res" } + else + linkoptions { "../../bin/assets/icon/ecode.res" } + end buildoptions{ "-Wa,-mbig-obj" } end build_link_configuration( "ecode", false ) @@ -1497,7 +1505,11 @@ solution "eepp" links { "bsd" } end if os.is("windows") and not is_vs() then - linkoptions { "../../bin/assets/icon/eterm.res" } + if os.is64bit() then + linkoptions { "../../bin/assets/icon/eterm.x64.res" } + else + linkoptions { "../../bin/assets/icon/eterm.res" } + end end build_link_configuration( "eterm", false )