Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
pmdmini: fix audit warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mistydemeo committed Feb 4, 2012
1 parent 54117ad commit d42b874
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Formula/pmdmini.rb
Expand Up @@ -18,7 +18,7 @@ def install
Dir.chdir "jni/pmdmini"
# Specify Homebrew's cc
inreplace "mak/general.mak", "gcc", ENV.cc
if ARGV.flag? '--lib-only'
if ARGV.include? '--lib-only'
system "make", "-f", "Makefile.lib"
else
system "make"
Expand All @@ -27,7 +27,7 @@ def install
# Makefile doesn't build a dylib
system "#{ENV.cc} -dynamiclib -install_name #{lib}/libpmdmini.dylib -o libpmdmini.dylib -undefined dynamic_lookup obj/*.o"

bin.install "pmdplay" => "pmdmini" unless ARGV.flag? '--lib-only'
bin.install "pmdplay" unless ARGV.include? '--lib-only'
lib.install "libpmdmini.a"
lib.install "libpmdmini.dylib"
(include+'libpmdmini').install Dir['src/*.h']
Expand Down

0 comments on commit d42b874

Please sign in to comment.