Skip to content

Commit e17d7f1

Browse files
Update myocamlbuild.ml
1 parent 4bbe016 commit e17d7f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

myocamlbuild.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ let () =
1212
Cmd (A(env "src/wrapper/%_gen.byte")));
1313
ocaml_lib "tensorflow";
1414
ocaml_lib "tensorflow_core";
15-
dep ["link"; "ocaml"; "use_tensorflowcstubs"] ["libtensorflowcstubs.a"];
15+
flag ["link"; "ocaml"; "use_tensorflowcstubs"]
16+
(S[A"-cclib"; A"-ltensorflowcstubs"; A"-cclib"; A"-ltensorflow"]);
1617
flag ["link"; "ocaml"; "use_tensorflow"]
1718
(S[A"-ccopt"; A"-L../lib"; A"-cclib"; A"-ltensorflow"]);
1819
flag ["link"; "ocaml"; "use_tensorflow_core"]

0 commit comments

Comments
 (0)