[build] Change the way how mcs references are passed to compiler to always use full...
[mono.git] / mcs / build / profiles / monodroid.make
index 49f85dcf8ee26c7273e367ef1a94366295cb9f47..9ea27d6c9c7f866de0d850093cad9056a9301ab9 100644 (file)
@@ -11,7 +11,7 @@ RESGEN = resgen2
 profile-check:
        @:
 
-DEFAULT_REFERENCES = -r:mscorlib.dll
+DEFAULT_REFERENCES = -r:$(topdir)/class/lib/$(PROFILE)/mscorlib.dll
 
 PROFILE_MCS_FLAGS = \
        -d:NET_1_1 \
@@ -28,7 +28,6 @@ PROFILE_MCS_FLAGS = \
        -d:ANDROID \
        -nowarn:1699 \
        -nostdlib \
-       -lib:$(topdir)/class/lib/$(PROFILE) \
        $(DEFAULT_REFERENCES) \
        $(PLATFORM_DEBUG_FLAGS)