Browse Source

[netlib] Added net libs to descriptor

Caue Waneck 12 years ago
parent
commit
b77611afcb
1 changed files with 8 additions and 1 deletions
  1. 8 1
      gencommon.ml

+ 8 - 1
gencommon.ml

@@ -1022,7 +1022,14 @@ let dump_descriptor gen name path_s module_s =
         SourceWriter.write w s;
         SourceWriter.newline w;
       end
-    ) gen.gcon.java_libs;
+    ) gen.gcon.java_libs
+	else if Common.platform gen.gcon Cs then
+    List.iter (fun (s,std,_,_) ->
+      if not std then begin
+        SourceWriter.write w s;
+        SourceWriter.newline w;
+      end
+    ) gen.gcon.net_libs;
   SourceWriter.write w "end libs";
 
   let contents = SourceWriter.contents w in