Fixed Mono.Data.Sqlite dependencies
authorMarek Safar <marek.safar@gmail.com>
Wed, 29 Dec 2010 16:46:05 +0000 (16:46 +0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 29 Dec 2010 16:46:05 +0000 (16:46 +0000)
mcs/class/Mono.Data.Sqlite/Makefile

index b59b1149133525797304872acf90b18314713ad2..50bf887d3160b9ad2f5578b80cd5f428e2ada4af 100644 (file)
@@ -2,17 +2,13 @@ thisdir = class/Mono.Data.Sqlite
 SUBDIRS =
 include ../../build/rules.make
 
-ifneq (1, $(FRAMEWORK_VERSION_MAJOR))
-OTHER_LIB_MCS_FLAGS = /r:System.Transactions.dll
-
 RESX_RESOURCES = resources/SR.resources
 OTHER_RESOURCES = $(wildcard resources/*.bmp)
 
 RESOURCES = $(RESX_RESOURCES) $(OTHER_RESOURCES)
-endif
 
 LIBRARY = Mono.Data.Sqlite.dll
-LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll $(OTHER_LIB_MCS_FLAGS) \
+LIB_MCS_FLAGS = /unsafe /r:System.dll /r:System.Data.dll /r:System.Transactions.dll /r:System.Xml.dll \
        $(RESOURCES:%=-resource:%) -d:SQLITE_STANDARD
 
 TEST_MCS_FLAGS = $(LIB_MCS_FLAGS) /nowarn:618
@@ -32,10 +28,8 @@ test.db: Test/test.sql
        sqlite3 $@ < $< || :
 
 include ../../build/library.make
-ifeq (2, $(FRAMEWORK_VERSION_MAJOR))
+
 $(the_lib): $(RESOURCES)
 
 $(RESX_RESOURCES): %.resources: %.resx
        $(RESGEN) $<
-endif
-