Re-establish /usr/lib priority over /usr/local/lib using -Z instead

of -search_paths_first which doesn't play well with --sysroot.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6317 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2010-10-28 17:00:59 +00:00
parent 0dc50d283d
commit a1312da859

View file

@ -130,9 +130,10 @@ if sys.platform == 'darwin':
env['FRAMEWORKS'] += ['AppKit', 'CoreFoundation', 'CoreServices']
env['FRAMEWORKS'] += ['AudioUnit', 'CoreAudio']
env['FRAMEWORKS'] += ['IOBluetooth', 'IOKit', 'OpenGL']
env['LIBPATH'] += ['/usr/lib']
env['LIBS'] = ['iconv', 'SDL']
env['LINKFLAGS'] += ccld
env['LINKFLAGS'] += ['-Wl,-search_paths_first']
env['LINKFLAGS'] += ['-Wl,-Z', '-F/System/Library/Frameworks']
if platform.mac_ver()[0] < '10.6.0':
env['HAVE_OPENCL'] = 0