Skip to content

Commit

Permalink
Fix noisy empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
AltGr committed Oct 8, 2019
1 parent e77a966 commit afb39df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otherlibs/configurator/src/v1.ml
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ module Pkg_config = struct
(Process.run_capture_exn c ~dir ?env t.pkg_config [ what; package ])
with
| "" -> []
| s -> String.split s ~on:' '
| s -> String.split s ~on:' ' |> List.filter ~f:(( <> ) "")
in
Ok { libs = run "--libs"; cflags = run "--cflags" }
else
Expand Down

0 comments on commit afb39df

Please sign in to comment.