* Install the standalone (scons-local) version Advantages: - The regular version of SCons requires distutils during installation; the standalone version does not have this requirement Disadvantages: - The scons-local package is not available from the Fossies mirror - The patch will need to be manually updated with each version update * Install files to $(STAGING_DIR_HOSTPKG) instead of $(STAGING_DIR_HOST) * Write the correct shebang into scripts instead of using the wrapper * Update to 3.1.2 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
11 lines
372 B
Diff
11 lines
372 B
Diff
--- a/scons-local-3.1.2/SCons/Platform/__init__.py
|
|
+++ b/scons-local-3.1.2/SCons/Platform/__init__.py
|
|
@@ -65,6 +65,8 @@ def platform_default():
|
|
care about the machine architecture.
|
|
"""
|
|
osname = os.name
|
|
+ if 'PLATFORM' in os.environ:
|
|
+ return os.environ['PLATFORM']
|
|
if osname == 'java':
|
|
osname = os._osType
|
|
if osname == 'posix':
|