|
|
|
@ -55,6 +55,7 @@ def configure(conf):
@@ -55,6 +55,7 @@ def configure(conf):
|
|
|
|
|
conf.check( lib='gdi32' ) |
|
|
|
|
conf.check( lib='advapi32' ) |
|
|
|
|
conf.check( lib='dbghelp' ) |
|
|
|
|
conf.check( lib='psapi' ) |
|
|
|
|
conf.env.append_unique('DEFINES', 'DBGHELP') |
|
|
|
|
|
|
|
|
|
def get_subproject_name(ctx): |
|
|
|
@ -74,10 +75,10 @@ def build(bld):
@@ -74,10 +75,10 @@ def build(bld):
|
|
|
|
|
|
|
|
|
|
# basic build: dedicated only, no dependencies |
|
|
|
|
if bld.env.DEST_OS != 'win32': |
|
|
|
|
libs += [ 'DL', 'M', 'PTHREAD' ] |
|
|
|
|
libs += [ 'DL' , 'M', 'PTHREAD' ] |
|
|
|
|
source += bld.path.ant_glob(['platform/posix/*.c']) |
|
|
|
|
else: |
|
|
|
|
libs += ['user32', 'shell32', 'gdi32', 'advapi32', 'dbghelp'] |
|
|
|
|
libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP', 'PSAPI'] |
|
|
|
|
source += bld.path.ant_glob(['platform/win32/*.c']) |
|
|
|
|
|
|
|
|
|
if bld.env.DEST_OS == 'linux': |
|
|
|
|