X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Data%2FMakefile;h=e8a641299b351597bbcaaa4cfc549055fa665dbc;hb=5780d872ad5c32a1fcfa84c8e86af5ee73e50e9c;hp=39e46838503c6b687e8c230f2a78558ca3921100;hpb=166830635e6c8ed89a2da3e18d43a3251b8a6a2b;p=mono.git diff --git a/mcs/class/System.Data/Makefile b/mcs/class/System.Data/Makefile index 39e46838503..e8a641299b3 100644 --- a/mcs/class/System.Data/Makefile +++ b/mcs/class/System.Data/Makefile @@ -12,11 +12,17 @@ LIB_MCS_FLAGS = \ -d:MONO_PARTIAL_DATA_IMPORT \ -unsafe +ifdef NO_MONO_SECURITY +MONO_DATA_TDS= +else +MONO_DATA_TDS=Mono.Data.Tds +endif + ifdef MOBILE_PROFILE -LIB_REFS += Mono.Data.Tds System.Transactions +LIB_REFS += $(MONO_DATA_TDS) System.Transactions LIB_MCS_FLAGS += -d:NO_CODEDOM -d:NO_OLEDB -d:NO_ODBC -d:NO_CONFIGURATION else -LIB_REFS += System.EnterpriseServices Mono.Data.Tds System.Configuration System.Transactions +LIB_REFS += System.EnterpriseServices $(MONO_DATA_TDS) System.Configuration System.Transactions BUILT_SOURCES = \ gen_OdbcConnection.cs \ gen_OleDbConnection.cs \