Unify whitespace and add -headerpad_max_install_names to LINKFLAGS.

This commit is contained in:
jdolan 2013-06-27 00:36:39 -04:00
parent 2d6a36ac81
commit 178ebc262b

View file

@ -25,6 +25,7 @@ class Config:
# platforms for which to assemble a setup
self.setup_platforms = [ 'local', 'x86', 'x64', 'win32' ]
# paks to assemble in the setup
self.setup_packs = [ 'Q3Pack', 'UrTPack', 'ETPack', 'QLPack' ]
@ -246,6 +247,10 @@ class Config:
# this lets us catch libjpg and libpng libraries that we put in the same directory as radiant.bin
env.Append( LINKFLAGS = '-Wl,-rpath,.' )
# On Mac, we pad headers so that we may rewrite them for packaging
if ( self.platform == 'Darwin') :
env.Append( LINKFLAGS = [ '-headerpad_max_install_names' ] )
def CheckoutOrUpdate( self, svnurl, path ):
if ( os.path.exists( path ) ):
cmd = [ 'svn', 'update', path ]