Skip to content

Commit

Permalink
lv2: Fix build for Linux
Browse files Browse the repository at this point in the history
- This was failing in a bottle build PR (13130) with the following
  error:
  ```
  /usr/bin/env: 'python': No such file or directory
  ```

Closes #13607.

Signed-off-by: Michka Popoff <michkapopoff@gmail>
  • Loading branch information
issyl0 authored and Michka Popoff committed Jun 11, 2019
1 parent b5557f8 commit b620d1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/lv2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class Lv2 < Formula
sha256 "b0f163fce66e26fefa0c1dc35db01662d5bacae2f96760e4e5b79b1ec383cfed" => :sierra
end

depends_on "python@2" => :build unless OS.mac?

def install
system "./waf", "configure", "--prefix=#{prefix}", "--no-plugins", "--lv2dir=#{lib}"
system "./waf", "build"
Expand Down

0 comments on commit b620d1b

Please sign in to comment.