Skip to content

Commit

Permalink
stoken: Fix build for Linux
Browse files Browse the repository at this point in the history
- This formula is a dependency of `openconnect`, which failed when I
  tried to `brew install openconnect`.
- The error was:
  ```
  src/sdtid.c:32:27: fatal error: libxml/parser.h: No such file or directory
  ```

Closes #13605.

Signed-off-by: Michka Popoff <michkapopoff@gmail>
  • Loading branch information
issyl0 authored and Michka Popoff committed Jun 11, 2019
1 parent 3276f7d commit 40d77f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Formula/stoken.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class Stoken < Formula

depends_on "pkg-config" => :build
depends_on "nettle"
depends_on "libxml2" unless OS.mac?

def install
args = %W[
Expand Down

0 comments on commit 40d77f2

Please sign in to comment.