File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,22 @@ let () =
18
18
| None -> default
19
19
| Some p -> begin
20
20
match C.Pkg_config. query ~package: " plplot" p with
21
- | None -> default
22
- | Some conf -> conf
23
- end
21
+ | None -> begin
22
+ match C.Pkg_config. query ~package: " plplotd" p with
23
+ | None -> default
24
+ | Some conf -> conf
25
+ end
26
+ | Some conf -> conf
27
+ end
24
28
in
25
29
if not
26
- @@ C. c_test
27
- c
28
- plplot_test
29
- ~c_flags: conf.cflags
30
- ~link_flags: conf.libs
30
+ @@ C. c_test
31
+ c
32
+ plplot_test
33
+ ~c_flags: conf.cflags
34
+ ~link_flags: conf.libs
31
35
then
32
36
failwith " No valid installation of plplot or plplotd found."
33
37
else
34
38
C.Flags. write_sexp " c_flags.sexp" conf.cflags;
35
- C.Flags. write_sexp " c_library_flags.sexp" conf.libs)
39
+ C.Flags. write_sexp " c_library_flags.sexp" conf.libs)
You can’t perform that action at this time.
0 commit comments