scons: Add a Transform() for when linking shared libraries.
authorGabe Black <gabeblack@google.com>
Fri, 28 Apr 2017 10:49:24 +0000 (03:49 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 28 Apr 2017 21:12:07 +0000 (21:12 +0000)
Change-Id: I7ddba0cc7be559633328011c1c7e2282f509b78c
Reviewed-on: https://gem5-review.googlesource.com/2943
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>

SConstruct

index 26b1acf6ef657b524dae9de2fc906519b68c64f7..f4649c64dcff84e7080aef1559f3a3fbb8b8b84c 100755 (executable)
@@ -648,6 +648,7 @@ else:
     main['SWIGCOMSTR']      = Transform("SWIG")
     main['ARCOMSTR']        = Transform("AR", 0)
     main['LINKCOMSTR']      = Transform("LINK", 0)
+    main['SHLINKCOMSTR']    = Transform("SHLINK", 0)
     main['RANLIBCOMSTR']    = Transform("RANLIB", 0)
     main['M4COMSTR']        = Transform("M4")
     main['SHCCCOMSTR']      = Transform("SHCC")