Update terminalimageviewer.rb

This commit is contained in:
Aaron Liu 2022-02-04 22:05:29 +08:00 committed by GitHub
parent 1b89356729
commit 6415891683
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,6 @@ class Terminalimageviewer < Formula
depends_on "imagemagick"
def install
odie "This formula is for macOS 10.14-, please use tiv from homebrew-core instead!" if OS.linux?
cd "src/main/cpp" do
system "/usr/local/bin/g++-#{Formula["gcc"].version_suffix}", "-std=c++17", "-Wall", "-fpermissive",
"-fexceptions", "-O2", "-c", "-L/usr/local/opt/gcc/lib/gcc/#{Formula["gcc"].version_suffix}/", "tiv.cpp",