Fixed core Makefile trying to link interfaces lib on non-csgo engines (NPOTB).
Fixed core Makefile trying to link interfaces lib on non-csgo engines (NPOTB).
1.1 --- a/core/Makefile Mon Sep 03 13:43:02 2012 +0100
1.2 +++ b/core/Makefile Fri Oct 26 11:19:02 2012 -0400
1.3 @@ -108,7 +108,11 @@
1.4 -DSE_CSS=6 -DSE_ORANGEBOXVALVE=7 -DSE_LEFT4DEAD=8 -DSE_LEFT4DEAD2=9 -DSE_ALIENSWARM=10 \
1.5 -DSE_PORTAL2=11 -DSE_CSGO=12
1.6
1.7 -LINK += $(HL2LIB)/tier1_i486.a $(HL2LIB)/interfaces_i486.a $(LIB_PREFIX)vstdlib$(LIB_SUFFIX) $(LIB_PREFIX)tier0$(LIB_SUFFIX) \
1.8 +ifeq "$(ENGINE)" "csgo"
1.9 + LINK += $(HL2LIB)/interfaces_i486.a
1.10 +endif
1.11 +
1.12 +LINK += $(HL2LIB)/tier1_i486.a $(LIB_PREFIX)vstdlib$(LIB_SUFFIX) $(LIB_PREFIX)tier0$(LIB_SUFFIX) \
1.13 -static-libgcc
1.14
1.15 INCLUDE += -I. -I.. -I../public -I$(HL2PUB) -I$(HL2PUB)/engine -I$(HL2PUB)/mathlib -I$(HL2PUB)/vstdlib \