2
0
Эх сурвалжийг харах

generate extern modules too

Simon Krajewski 1 жил өмнө
parent
commit
44c248ca1f

+ 1 - 1
src/compiler/generate.ml

@@ -24,7 +24,7 @@ let check_auxiliary_output com actx =
 let export_hxb com cc platform zip m =
 	let open HxbData in
 	match m.m_extra.m_kind with
-		| MCode | MMacro | MFake -> begin
+		| MCode | MMacro | MFake | MExtern -> begin
 			(* Printf.eprintf "Export module %s\n" (s_type_path m.m_path); *)
 			let l = platform :: (fst m.m_path @ [snd m.m_path]) in
 			let path = (String.concat "/" l) ^ ".hxb" in