mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Unify whitespace and add -headerpad_max_install_names to LINKFLAGS.
This commit is contained in:
parent
2d6a36ac81
commit
178ebc262b
1 changed files with 411 additions and 406 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue