Do not allow undefined references if bitcode is enabled.
[mono.git] / mono / mini / Makefile.am.in
index 96a5bf28f1f76c5facc164938270f2073bff13dc..7290ba8ab4d8f1615a4365ca7c66b2bf3f860ac4 100755 (executable)
@@ -243,6 +243,10 @@ mono_sgen_LDADD = \
 
 mono_sgen_LDFLAGS = $(static_flags) -export-dynamic $(monobinldflags) $(monobin_platform_ldflags)
 
+if BITCODE
+libmonoldflags += -no-undefined
+endif
+
 # if SUPPORT_SGEN
 # 
 # mono_LDADD = $(mono_sgen_LDADD)