diff options
Diffstat (limited to 'msvc-common/msvc-link-common')
-rwxr-xr-x | msvc-common/msvc-link-common | 7 |
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 ;; |