Only link with libdl on Linux.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6316 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8ba671f849
commit
0dc50d283d
|
@ -138,10 +138,10 @@ if sys.platform == 'darwin':
|
|||
env['HAVE_OPENCL'] = 0
|
||||
else:
|
||||
env['CCFLAGS'] += ['-Wextra-tokens', '-Wnewline-eof']
|
||||
env['CCFLAGS'] += ['-iframework/Developer/SDKs/MacOSX10.5.sdk' +
|
||||
'/System/Library/Frameworks']
|
||||
env['CCFLAGS'] += ['-iframework/Developer/SDKs/MacOSX10.6.sdk' +
|
||||
'/System/Library/Frameworks']
|
||||
env['CCFLAGS'] += ['-iframework' +
|
||||
'/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks']
|
||||
env['CCFLAGS'] += ['-iframework' +
|
||||
'/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks']
|
||||
env['CPPDEFINES'] += [('HAVE_OPENCL', 1)]
|
||||
env['HAVE_OPENCL'] = 1
|
||||
env['FRAMEWORKSFLAGS'] = ['-weak_framework', 'OpenCL']
|
||||
|
|
Loading…
Reference in New Issue