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