mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
macOS build support
This commit is contained in:
@@ -12,8 +12,12 @@
|
||||
#include "tier1/strtools.h"
|
||||
|
||||
#ifndef _PS3
|
||||
#ifdef _OSX
|
||||
#include <malloc/malloc.h>
|
||||
#else
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Should be last include
|
||||
#include "tier0/memdbgon.h"
|
||||
|
||||
@@ -84,6 +84,8 @@ def build(bld):
|
||||
libs = []
|
||||
if bld.env.DEST_OS == 'win32':
|
||||
libs += ['RPCRT4']
|
||||
elif bld.env.DEST_OS == "darwin":
|
||||
libs += ['ICONV']
|
||||
|
||||
bld.stlib(
|
||||
source = source,
|
||||
|
||||
Reference in New Issue
Block a user