torrentcheck: fix CFLAGS splitting.

This commit is contained in:
Mike McQuaid 2015-01-18 17:30:33 +01:00
parent d396feca06
commit dfefdca6d1

View file

@ -7,7 +7,7 @@ class Torrentcheck < Formula
def install
inreplace "torrentcheck.c", "#include <malloc.h>", ""
system ENV.cc, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.split
system ENV.cc, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.to_s.split
bin.install 'torrentcheck'
end