diff options
author | Marek Safar <marek.safar@gmail.com> | 2016-04-04 14:42:47 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2016-04-04 14:48:44 +0300 |
commit | aeccd22792f34fb77c340180174f73f6c3270200 (patch) | |
tree | 21343b9a17eb47414f28daba4a29d2f7b959b6ec /mcs/class/System.Web.DynamicData | |
parent | 3d180029fb2875865d51d03269cc71999e008104 (diff) |
[build] Change the way how mcs references are passed to compiler to always use full path.
One of csc prerequisites because csc uses -lib as path which is considered after
RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
Diffstat (limited to 'mcs/class/System.Web.DynamicData')
-rw-r--r-- | mcs/class/System.Web.DynamicData/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/System.Web.DynamicData/Makefile b/mcs/class/System.Web.DynamicData/Makefile index 08cb7d04c2b..df81a3719ca 100644 --- a/mcs/class/System.Web.DynamicData/Makefile +++ b/mcs/class/System.Web.DynamicData/Makefile @@ -160,11 +160,11 @@ TEST_RESOURCE_FILES = \ NUNIT_RESOURCE_FILES = $(TEST_RESOURCE_FILES) -TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -r:System.ComponentModel.DataAnnotations.dll -r:System.Configuration.dll \ - $(NUNIT_RESOURCE_FILES:%=/resource:%) -r:SystemWebTestShim.dll -r:System.Xml.dll +TEST_LIB_REFS = System.ComponentModel.DataAnnotations System.Configuration SystemWebTestShim System.Xml +TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) $(NUNIT_RESOURCE_FILES:%=/resource:%) ifeq (4, $(FRAMEWORK_VERSION_MAJOR)) -TEST_MCS_FLAGS += -r:System.Web.ApplicationServices.dll +TEST_LIB_REFS += System.Web.ApplicationServices endif EXTRA_DISTFILES = $(foreach resource,$(TEST_RESOURCE_FILES), $(shell echo $(subst \`,\\\`,$(resource)) | cut -d ',' -f 1)) |