fix: link Minecraft.World to Minecraft.Client on linux

This commit is contained in:
Tropical 2026-03-04 16:01:49 -06:00
parent d329707d75
commit 8a9b2fd336
2 changed files with 3 additions and 1 deletions

View file

@ -3986,6 +3986,8 @@ if("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Durango")
">"
"xaudio2"
)
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "Linux")
set(ADDITIONAL_LIBRARY_DEPENDENCIES "Minecraft.World")
elseif("${CMAKE_VS_PLATFORM_NAME}" STREQUAL "ORBIS")
set(ADDITIONAL_LIBRARY_DEPENDENCIES
"$<$<CONFIG:CONTENTPACKAGE_SYMBOLS>:"

View file

@ -950,7 +950,7 @@ void Item::registerIcons(IconRegister *iconRegister)
4J: These are necesary on the PS3.
(and 4 and Vita).
*/
#if (defined __PS3__ || defined __ORBIS__ || defined __PSVITA__)
#if (defined __PS3__ || defined __ORBIS__ || defined __PSVITA__ || defined __linux__)
const int Item::shovel_iron_Id ;
const int Item::pickAxe_iron_Id ;
const int Item::hatchet_iron_Id ;