Mercurial > fife-parpg
comparison engine/SConscript @ 410:efa51189ffc3
Move the LINKFLAGS to a more appropriate spot.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 31 Jan 2010 17:17:23 +0000 |
parents | 81641655bc38 |
children | 10ac0c080564 |
comparison
equal
deleted
inserted
replaced
409:47eca3c3d59d | 410:efa51189ffc3 |
---|---|
107 #************************************************************************** | 107 #************************************************************************** |
108 | 108 |
109 if sys.platform == 'win32': | 109 if sys.platform == 'win32': |
110 sharedlib = env.SharedLibrary(target = 'fife', | 110 sharedlib = env.SharedLibrary(target = 'fife', |
111 source = compilefiles, | 111 source = compilefiles, |
112 LINKFLAGS=['-Wl'], | |
113 OBJPREFIX='shared_', | 112 OBJPREFIX='shared_', |
114 SHLIBEMITTER = '') | 113 SHLIBEMITTER = '') |
115 else: | 114 else: |
116 sharedlib = env.SharedLibrary(target = 'fife', | 115 sharedlib = env.SharedLibrary(target = 'fife', |
117 source = compilefiles, | 116 source = compilefiles) |
118 LINKFLAGS=['-Wl']) | |
119 | 117 |
120 #************************************************************************** | 118 #************************************************************************** |
121 #python library target | 119 #python library target |
122 #************************************************************************** | 120 #************************************************************************** |
123 if sys.platform == 'win32': | 121 if sys.platform == 'win32': |
128 pythonlib = env.SharedLibrary(target = 'fife', | 126 pythonlib = env.SharedLibrary(target = 'fife', |
129 source = pyfiles, | 127 source = pyfiles, |
130 OBJPREFIX='py_', | 128 OBJPREFIX='py_', |
131 SHLIBPREFIX='_', | 129 SHLIBPREFIX='_', |
132 SHLIBSUFFIX=dest_suffix, | 130 SHLIBSUFFIX=dest_suffix, |
133 LINKFLAGS=['-Wl'], | |
134 SHLIBEMITTER = '') | 131 SHLIBEMITTER = '') |
135 | 132 |
136 pythonext = env.PythonExtensions(target = [os.path.join('swigwrappers', 'python' ,'fife_wrap.cc'), os.path.join('python', 'fife', 'fife.py')], | 133 pythonext = env.PythonExtensions(target = [os.path.join('swigwrappers', 'python' ,'fife_wrap.cc'), os.path.join('python', 'fife', 'fife.py')], |
137 source = os.path.join('swigwrappers', 'python' ,'fife.i'), | 134 source = os.path.join('swigwrappers', 'python' ,'fife.i'), |
138 SWIGFLAGS=['-python','-c++','-w511'], | 135 SWIGFLAGS=['-python','-c++','-w511'], |