Index: source/libvpx/build/make/gen_msvs_proj.sh |
diff --git a/source/libvpx/build/make/gen_msvs_proj.sh b/source/libvpx/build/make/gen_msvs_proj.sh |
index dcce78255d4757be676dafd4d6dfee60dd0cd26c..0cf335b3d26f0dd1081c783ba9f588f3a1624c20 100755 |
--- a/source/libvpx/build/make/gen_msvs_proj.sh |
+++ b/source/libvpx/build/make/gen_msvs_proj.sh |
@@ -73,6 +73,10 @@ generate_filter() { |
open_tag File RelativePath="$f" |
if [ "$pat" == "asm" ] && $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 |
for plat in "${platforms[@]}"; do |
for cfg in Debug Release; do |
open_tag FileConfiguration \ |