libstrophe: use ENV.cflags.to_s.
This will stop this blowing up if `test do` is ever moved to superenv. Do the opposite of Homebrew/homebrew#31446. Closes Homebrew/homebrew#31446.
This commit is contained in:
parent
f808d051e5
commit
3c1203195e
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class Libstrophe < Formula
|
|||
}
|
||||
EOS
|
||||
flags = ["-I#{include}/", "-lstrophe"]
|
||||
system ENV.cc, "-o", "test", "test.c", *(flags + ENV.cflags.split)
|
||||
system ENV.cc, "-o", "test", "test.c", *(flags + ENV.cflags.to_s.split)
|
||||
system "./test"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue