From 9006673b09c76f0d161d14188b978e537954c1e7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 11 Sep 2004 19:38:58 +0000 Subject: [PATCH] amd64 now does lstdc++ --- amxmodx/Makefile.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/amxmodx/Makefile.pl b/amxmodx/Makefile.pl index 4877c1ce..f2a9f227 100755 --- a/amxmodx/Makefile.pl +++ b/amxmodx/Makefile.pl @@ -21,6 +21,7 @@ $sdk = "../hlsdk/SourceCode"; $mm = "../metamod/metamod"; $gccf = "gcc"; $ccf = "cc"; +$amd64_lstdc = "-lstdc++"; @CPP_SOURCE_FILES = ("meta_api.cpp", "CFile.cpp", "CVault.cpp", "vault.cpp", "float.cpp", "file.cpp", "modules.cpp", "CMisc.cpp", "CTask.cpp", "string.cpp", "amxmodx.cpp", "CEvent.cpp", "CCmd.cpp", "CLogEvent.cpp", "srvcmd.cpp", "strptime.cpp", "amxcore.cpp", "amxtime.cpp", "power.cpp", "amxxlog.cpp", "fakemeta.cpp", "amxxfile.cpp", "CLang.cpp", "md5.cpp", "emsg.cpp", "CForward.cpp", "CPlugin.cpp", "CModule.cpp", "CMenu.cpp", "util.cpp"); @@ -185,6 +186,7 @@ if ($OPTIONS{"jit"}) if ($OPTIONS{"amd64"}) { push(@LINK, "zlib/libz64.a"); + push(@LINK, $amd64_lstdc); } else { push(@LINK, "zlib/libz.a"); }