Skip to content

Commit 61bb30d

Browse files
committed
Fixed Linux linker errors
1 parent 3be654a commit 61bb30d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/makefiles/linux/linux.base.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Set(SOURCEPYTHON_LINK_LIBRARIES
4646
# ------------------------------------------------------------------
4747
# Game specific library hacks.
4848
# ------------------------------------------------------------------
49-
If(SOURCE_ENGINE EQUAL 1)
49+
If(SOURCE_ENGINE MATCHES "orangebox")
5050
# Orangebox has all the tier libraries.
5151
Set(SOURCEPYTHON_LINK_LIBRARIES
5252
"${SOURCEPYTHON_LINK_LIBRARIES}"
@@ -58,7 +58,7 @@ If(SOURCE_ENGINE EQUAL 1)
5858
)
5959
EndIf()
6060

61-
If(SOURCE_ENGINE EQUAL 3)
61+
If(SOURCE_ENGINE MATCHES "csgo")
6262
Set(SOURCEPYTHON_LINK_LIBRARIES
6363
"${SOURCEPYTHON_LINK_LIBRARIES}"
6464
${SOURCESDK_LIB}/linux/interfaces_i486.a

0 commit comments

Comments
 (0)