Clean up shared_foo handling.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7183 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang
2011-02-16 13:36:41 +00:00
parent e9f3d50eca
commit 38950e421b
8 changed files with 7 additions and 13 deletions
+1 -3
View File
@@ -131,6 +131,7 @@ if sys.platform == 'darwin':
env['LINKFLAGS'] += ccld
env['LINKFLAGS'] += ['-Wl,-dead_strip,-dead_strip_dylibs']
env['LINKFLAGS'] += ['-Wl,-pagezero_size,0x1000']
#env['LINKFLAGS'] += ['-Wl,-read_only_relocs,suppress']
#if float(os.popen('xcode-select -version').read()[21:]) < 2000:
# print 'Xcode 4 running on Snow Leopard is required to build Dolphin'
@@ -164,10 +165,8 @@ if sys.platform == 'darwin':
wxconfig.ParseWXConfig(wxenv)
env['CPPPATH'] += wxenv['CPPPATH']
env['wxconfiglibs'] = wxenv['LIBS']
env['shared_png'] = True
env['data_dir'] = '#' + env['prefix'] + '/Dolphin.app/Contents/Resources'
env['shared_zlib'] = True
if env['bundle']:
app = env['prefix'] + '/Dolphin.app'
@@ -240,7 +239,6 @@ else:
env['flavor'] == 'debug')
if env['HAVE_WX']:
wxconfig.ParseWXConfig(env)
env['shared_png'] = True
else:
print "wxWidgets not found - see config.log"