opencv: add missing static libs

Closes #28392.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Jeroen 2018-05-28 22:25:21 +02:00 committed by ilovezfs
parent c391b983d2
commit 16fa642130

View file

@ -98,6 +98,7 @@ class Opencv < Formula
system "cmake", "..", "-DBUILD_SHARED_LIBS=OFF", *args system "cmake", "..", "-DBUILD_SHARED_LIBS=OFF", *args
system "make" system "make"
lib.install Dir["lib/*.a"] lib.install Dir["lib/*.a"]
lib.install Dir["3rdparty/**/*.a"]
end end
end end