aboutsummaryrefslogtreecommitdiff
path: root/msvc-common/msvc-link-common
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-13 00:53:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-25 16:21:26 +0300
commitba83f41d5d899e2e6f3e521b5b489123aa24b720 (patch)
treefa92b790fdb85b90431c492fc536da823f6cb6b5 /msvc-common/msvc-link-common
parentbea2cd6f5817e41f3ddb7d1a795648e52f9b7d05 (diff)
Add support for 16.0
Diffstat (limited to 'msvc-common/msvc-link-common')
-rwxr-xr-xmsvc-common/msvc-link-common7
1 files changed, 4 insertions, 3 deletions
diff --git a/msvc-common/msvc-link-common b/msvc-common/msvc-link-common
index d0c2186..fdddf61 100755
--- a/msvc-common/msvc-link-common
+++ b/msvc-common/msvc-link-common
@@ -104,7 +104,8 @@ while [ $# -gt 0 ]; do
;;
[/-]DEFAULTLIB:* | \
- [/-]PDBALTPATH:*)
+ [/-]PDBALTPATH:* | \
+ [/-]SOURCELINK:*)
args=("${args[@]}" "$(split_translate 12 $1)")
shift
;;
@@ -166,9 +167,9 @@ while [ $# -gt 0 ]; do
# If contains at least two slashes, treat it as a path.
#
if [[ "$1" == /*/* ]]; then
- args=("${args[@]}" "$(translate $1)")
+ args=("${args[@]}" "$(translate $1)")
else
- args=("${args[@]}" "$1")
+ args=("${args[@]}" "$1")
fi
shift
;;