place plugins inside app bundle on osx

(also btw, all Macs have Cocoa...)


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1839 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
bushing 2009-01-09 12:11:48 +00:00
parent 969496d93b
commit 9f5aaf8413

View File

@ -216,7 +216,7 @@ if sys.platform == 'darwin':
if not env['osx'] == '32x11': if not env['osx'] == '32x11':
env['HAVE_X11'] = 0 env['HAVE_X11'] = 0
env['HAVE_COCOA'] = conf.CheckPKG('cocoa') env['HAVE_COCOA'] = 1
else: else:
env['HAVE_X11'] = conf.CheckPKG('x11') env['HAVE_X11'] = conf.CheckPKG('x11')
env['HAVE_COCOA'] = 0 env['HAVE_COCOA'] = 0
@ -305,7 +305,10 @@ elif flavour == 'prof':
# TODO: support global install # TODO: support global install
env['prefix'] = os.path.join(env['base_dir'] + 'Binary', platform.system() + '-' + platform.machine() + extra +os.sep) env['prefix'] = os.path.join(env['base_dir'] + 'Binary', platform.system() + '-' + platform.machine() + extra +os.sep)
#TODO add lib #TODO add lib
env['plugin_dir'] = env['prefix'] + 'Plugins/' if sys.platform == 'darwin':
env['plugin_dir'] = env['prefix'] + 'Dolphin.app/Contents/PlugIns/'
else:
env['plugin_dir'] = env['prefix'] + 'Plugins/'
#TODO add bin #TODO add bin
env['binary_dir'] = env['prefix'] env['binary_dir'] = env['prefix']
#TODO add bin #TODO add bin