Previously if --with-gc=none --with-sgen=yes was specified the sgen runtime
would include the null GC and the sgen GC which would confuse the linker.
This change released uner the MIT license.
null_sources = \
console-null.c
+null_gc_sources = \
+ null-gc.c
+
common_sources = \
$(platform_sources) \
assembly.c \
monitor.h \
nacl-stub.c \
normalization-tables.h \
- null-gc.c \
number-formatter.h \
object-internals.h \
opcodes.c \
sgen-qsort.c \
sgen-qsort.h
-libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(boehm_sources)
+libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)