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 | |
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')
-rw-r--r-- | mcs/class/Microsoft.Build/Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/mcs/class/Microsoft.Build/Makefile b/mcs/class/Microsoft.Build/Makefile index 68cd09eb043..933782ff268 100644 --- a/mcs/class/Microsoft.Build/Makefile +++ b/mcs/class/Microsoft.Build/Makefile @@ -7,18 +7,12 @@ include $(XBUILD_DIR)/xbuild.make LIBRARY = Microsoft.Build.dll -LIB_REFS = System System.Core System.Xml Microsoft.Build.Engine Microsoft.Build.Framework +LIB_REFS = $(PARENT_PROFILE)System $(PARENT_PROFILE)System.Core $(PARENT_PROFILE)System.Xml Microsoft.Build.Engine Microsoft.Build.Framework LIB_MCS_FLAGS = \ - /r:$(corlib) \ - /r:System.dll \ - /r:System.Core.dll \ - /r:System.Xml.dll \ - /r:Microsoft.Build.Engine.dll \ - /r:Microsoft.Build.Framework.dll \ /d:MICROSOFT_BUILD_DLL -TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) \ - /r:Microsoft.Build.Utilities.v4.0.dll +TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) +TEST_LIB_REFS = $(XBUILD_UTILITIES) EXTRA_DISTFILES = \ Microsoft.Build.Internal/ExpressionParser.jay \ |