mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-29 18:48:09 +08:00
improve build scripts
This commit is contained in:
parent
1b2aa3fe38
commit
79e19acbba
@ -113,7 +113,7 @@ if OS_NAME == 'Darwin':
|
||||
OS_LIBS = ['stdc++', 'iconv', 'pthread', 'm', 'dl']
|
||||
OS_LINKFLAGS = '-framework IOKit -framework Cocoa -framework QuartzCore -framework OpenGL -weak_framework Metal -weak_framework MetalKit'
|
||||
OS_FLAGS = OS_FLAGS + ' -DHAS_SEM_OPEN '
|
||||
OS_FLAGS = OS_FLAGS + ' -D__APPLE__ -DHAS_PTHREAD -DMACOS -Dmacintosh '
|
||||
OS_FLAGS = OS_FLAGS + ' -D__APPLE__ -DHAS_PTHREAD -DMACOS '
|
||||
OS_FLAGS = OS_FLAGS + ' -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DBGFX_CONFIG_RENDERER_METAL=1 '
|
||||
OS_LIBPATH = ['/usr/local/lib/', sdl_lib]
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
# include "e_amiga.h"
|
||||
#elif defined (DJGPP)
|
||||
# include "e_djgpp.h"
|
||||
#elif defined (macintosh)
|
||||
#elif defined (__APPLE__)
|
||||
# include "e_mac.h"
|
||||
#elif defined (MSDOS) || defined (WIN32)
|
||||
# include "e_msoft.h"
|
||||
|
Loading…
Reference in New Issue
Block a user