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:
Soren Jorvang 2010-10-26 13:53:13 +00:00
parent 8ba671f849
commit 0dc50d283d
1 changed files with 6 additions and 6 deletions

View File

@ -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']