Hopefully fully fix tf2 lib paths.

This commit is contained in:
Ryan Stecker 2025-10-22 21:53:42 -05:00
parent 21618fc933
commit 88d154eec9

View File

@ -512,7 +512,9 @@ class ExtensionConfig(object):
if compiler.target.platform == "linux":
if sdk.name == "episode1":
lib_folder = os.path.join(sdk.path, "linux_sdk")
elif sdk.name in ["tf2", "sdk2013", "bms"]:
elif (
sdk.name in ["tf2", "sdk2013", "bms"] and compiler.target.arch == "x86"
):
lib_folder = os.path.join(sdk.path, "lib", "public", "linux32")
elif compiler.target.arch == "x86_64":
lib_folder = os.path.join(sdk.path, "lib", "public", "linux64")