| Index: pylib/gyp/generator/scons.py
|
| ===================================================================
|
| --- pylib/gyp/generator/scons.py (revision 498)
|
| +++ pylib/gyp/generator/scons.py (working copy)
|
| @@ -394,7 +394,10 @@
|
| for copy in copies:
|
| destdir = copy['destination']
|
| files = copy['files']
|
| - fmt = '\n_outputs = env.Command(%s,\n %s\n, \'cp $SOURCE $TARGET\')\n'
|
| + opts = ''
|
| + # TODO(mmoss) Maybe make the "-d" configurable? How would a
|
| + # "no-dereference" copies option work in other generators?
|
| + fmt = '\n_outputs = env.Command(%s,\n %s\n, \'cp -d $SOURCE $TARGET\')\n'
|
| for f in copy['files']:
|
| dest = os.path.join(destdir, os.path.split(f)[1])
|
| fp.write(fmt % (repr(dest), repr(f)))
|
|
|