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/Microsoft.Build.Utilities | |
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/Microsoft.Build.Utilities')
-rw-r--r-- | mcs/class/Microsoft.Build.Utilities/Makefile | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/mcs/class/Microsoft.Build.Utilities/Makefile b/mcs/class/Microsoft.Build.Utilities/Makefile index e44bbc2fe80..b854d2bc853 100644 --- a/mcs/class/Microsoft.Build.Utilities/Makefile +++ b/mcs/class/Microsoft.Build.Utilities/Makefile @@ -8,17 +8,13 @@ include $(XBUILD_DIR)/xbuild.make LIBRARY = Microsoft.Build.Utilities.dll LIBRARY_NAME = Microsoft.Build.Utilities$(NAME_SUFFIX).dll -LIB_REFS = System System.Core System.Xml -LIB_MCS_FLAGS = \ - /r:$(corlib) \ - /r:System.dll \ - /r:System.Core.dll \ - /r:System.Xml.dll \ - /r:$(XBUILD_FRAMEWORK) +LIB_REFS = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml $(XBUILD_FRAMEWORK) +LIB_MCS_FLAGS = TEST_RESX_RESOURCES = Test/Microsoft.Build.Utilities/Strings.resources -TEST_MCS_FLAGS = /r:$(XBUILD_ENGINE) /r:$(XBUILD_FRAMEWORK) -r:System.dll -r:System.Core.dll $(TEST_RESX_RESOURCES:%=-resource:%) +TEST_LIB_REFS = $(XBUILD_ENGINE) $(XBUILD_FRAMEWORK) $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core +TEST_MCS_FLAGS = $(TEST_RESX_RESOURCES:%=-resource:%) include $(XBUILD_DIR)/xbuild_test.make include ../../build/library.make |