Skip to content

Commit

Permalink
fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
pveber committed May 7, 2020
1 parent c218572 commit 8bb97bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/config/discover.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let () =
match C.Pkg_config.get c with
| None -> default
| Some pc ->
Option.value (C.Pkg_config.query pc ~package:"libR") ~default
Option.value (C.Pkg_config.query pc ~package:"libR libRmath") ~default
in
write_sexp "c_flags.sexp" (sexp_of_string (String.concat ~sep:" " conf.cflags)) ;
write_sexp "c_library_flags.sexp" (sexp_of_string (String.concat ~sep:" " conf.libs))
Expand Down
3 changes: 2 additions & 1 deletion lib/math/dune
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
(public_name ocaml-r.math)
(wrapped false)
(c_names r_math_stubs)
(c_flags (:include ../c_flags.sexp)))
(c_flags (:include ../c_flags.sexp))
(c_library_flags (:include ../c_library_flags.sexp)))

0 comments on commit 8bb97bd

Please sign in to comment.