Fix Microsoft.Build.Engine fail when built with mcs
authorNiklas Therning <niklas@therning.org>
Tue, 6 Dec 2016 10:00:18 +0000 (11:00 +0100)
committerMarek Safar <marek.safar@gmail.com>
Tue, 6 Dec 2016 15:27:49 +0000 (07:27 -0800)
Fixes the Makefile to not fail if the compiler hasn't generated a pdb file for
the TestTasks dll.

mcs/class/Microsoft.Build.Engine/Makefile

index 3c6915a0b75284e8721a6f0a88290392aa80fa27..57beae8643223d24f3562a06a326d7d369f0bda0 100644 (file)
@@ -28,7 +28,9 @@ test-local: compile-resources
 
 compile-resources: Test/resources/TestTasks-$(PROFILE).dll
        cp Test/resources/TestTasks-$(PROFILE).dll Test/resources/TestTasks.dll
+ifndef MCS_MODE
        cp Test/resources/TestTasks-$(PROFILE).pdb Test/resources/TestTasks.pdb
+endif
 
 include $(XBUILD_DIR)/xbuild_test.make
 include ../../build/library.make