updated extension.cpp and updated AMBuildScript to actually work
This commit is contained in:
parent
5055096c86
commit
ed48779c05
@ -158,7 +158,7 @@ class ExtensionConfig(object):
|
||||
'-fvisibility=hidden',
|
||||
]
|
||||
cxx.cxxflags += [
|
||||
'-std=c++11',
|
||||
'-std=c++14',
|
||||
'-fno-exceptions',
|
||||
'-fno-threadsafe-statics',
|
||||
'-Wno-non-virtual-dtor',
|
||||
@ -243,9 +243,9 @@ class ExtensionConfig(object):
|
||||
cxx.defines += ['_LINUX', 'POSIX']
|
||||
cxx.linkflags += ['-Wl,--exclude-libs,ALL', '-lm']
|
||||
if cxx.vendor == 'gcc':
|
||||
cxx.linkflags += ['-static-libgcc']
|
||||
cxx.linkflags += ['-static-libstdc++']
|
||||
elif cxx.vendor == 'clang':
|
||||
cxx.linkflags += ['-lgcc_eh']
|
||||
cxx.linkflags += ['-static-libstdc++']
|
||||
|
||||
def configure_mac(self, cxx):
|
||||
cxx.defines += ['OSX', '_OSX', 'POSIX']
|
||||
|
@ -205,11 +205,15 @@ const char *CSteamID::Render() const
|
||||
class CSteam3Server
|
||||
{
|
||||
public:
|
||||
void *m_pSteamClient;
|
||||
ISteamGameServer *m_pSteamGameServer;
|
||||
void *m_pSteamGameServerUtils;
|
||||
void *m_pSteamGameServerNetworking;
|
||||
void *m_pSteamGameServerStats;
|
||||
void *m_pSteamHTTP;
|
||||
void *m_pSteamInventory;
|
||||
void *m_pSteamUGC;
|
||||
void *m_pSteamApps;
|
||||
} *g_pSteam3Server;
|
||||
|
||||
CBaseServer *g_pBaseServer = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user