From aeccd22792f34fb77c340180174f73f6c3270200 Mon Sep 17 00:00:00 2001 From: Marek Safar Date: Mon, 4 Apr 2016 13:42:47 +0200 Subject: [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 --- mcs/class/Commons.Xml.Relaxng/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mcs/class/Commons.Xml.Relaxng') diff --git a/mcs/class/Commons.Xml.Relaxng/Makefile b/mcs/class/Commons.Xml.Relaxng/Makefile index 1bc0fd2f277..d63e7af0565 100644 --- a/mcs/class/Commons.Xml.Relaxng/Makefile +++ b/mcs/class/Commons.Xml.Relaxng/Makefile @@ -8,7 +8,7 @@ OTHER_RES = $(RESOURCE_FILES) LIBRARY = Commons.Xml.Relaxng.dll LIB_REFS = System System.Xml -LIB_MCS_FLAGS = /r:$(corlib) \ +LIB_MCS_FLAGS = \ $(foreach r, $(OTHER_RES), /resource:$(r),$(notdir $(r))) TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) -nowarn:0618 -nowarn:219 -nowarn:169 EXTRA_DISTFILES = \ -- cgit v1.2.3