ref: f0a6a604fc5dc9ef2772664ff46ab4dc0fc61088
parent: 655fa807df97c0e027d60a40742c8cdbf22045f0
parent: dbf6e3f3c846bf1631af830838d7e120ba4ecb3c
author: James Zern <jzern@google.com>
date: Wed Feb 26 18:41:57 EST 2014
Merge "gen_msvs_vcxproj.sh: Avoid object name collisions."
--- a/build/make/gen_msvs_vcxproj.sh
+++ b/build/make/gen_msvs_vcxproj.sh
@@ -156,6 +156,10 @@
objf=$(echo ${f%.*}.obj | sed -e 's/^[\./]\+//g' -e 's,/,_,g')
if ([ "$pat" == "asm" ] || [ "$pat" == "s" ]) && $asm_use_custom_step; then
+ # Avoid object file name collisions, i.e. vpx_config.c and
+ # vpx_config.asm produce the same object file without
+ # this additional suffix.
+ objf=${objf%.obj}_asm.obj
open_tag CustomBuild \
Include=".\\$f"
for plat in "${platforms[@]}"; do
--
⑨