better oprofile detection
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1764 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
952dfcd610
commit
034986a7ac
|
@ -269,8 +269,9 @@ conf.Define('HAVE_COCOA', env['HAVE_COCOA'])
|
|||
# profile
|
||||
env['USE_OPROFILE'] = 0
|
||||
if (flavour == 'prof'):
|
||||
env['LIBPATH'] += [ '/usr/lib/oprofile' ]
|
||||
env['RPATH'] += [ '/usr/lib/oprofile' ]
|
||||
proflibs = [ '/usr/lib/oprofile', '/usr/local/lib/oprofile' ]
|
||||
env['LIBPATH'].append(proflibs)
|
||||
env['RPATH'].append(proflibs)
|
||||
if conf.CheckPKG('opagent'):
|
||||
env['USE_OPROFILE'] = 1
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue