Skip to content

Commit

Permalink
Fix noisy empty strings
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Gesbert <louis.gesbert@ocamlpro.com>
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
  • Loading branch information
AltGr authored and rgrinberg committed Oct 11, 2019
1 parent 5f65259 commit 3a7a442
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@

- Do not setup rules for disabled libraries (#2491, fixes #2272, @bobot)

- Configurator: filter out empty flags from `pkg-config` (#2716, @AltGr)

1.11.4 (09/10/2019)
-------------------

Expand Down
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.extract_blank_separated_words s
in
Ok { libs = run "--libs"; cflags = run "--cflags" }
else
Expand Down

0 comments on commit 3a7a442

Please sign in to comment.