docker-machine-driver-xhyve: fix #6678 use opt_lib instead of lib

Closes #9532.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
This commit is contained in:
Colin Delacroix 2017-02-01 18:16:06 +01:00 committed by Tomasz Pajor
parent 34fc2ad60a
commit c379d34b5c

View file

@ -52,7 +52,7 @@ class DockerMachineDriverXhyve < Formula
go_ldflags = "-w -s -X 'github.com/zchee/docker-machine-driver-xhyve/xhyve.GitCommit=Homebrew#{git_hash}'"
ENV["GO_LDFLAGS"] = go_ldflags
ENV["GO_BUILD_TAGS"] = build_tags
ENV["LIBEV_FILE"] = "#{Formula["libev"].lib}/libev.a"
ENV["LIBEV_FILE"] = "#{Formula["libev"].opt_lib}/libev.a"
system "make", "lib9p"
system "make", "build"
bin.install "bin/docker-machine-driver-xhyve"