From de1e9e11d91c706c5b5f72920dfb8f0db004f11e Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 21 Aug 2014 15:42:22 +0100 Subject: libstrophe: use ENV.cflags.to_s. This will stop this blowing up if `test do` is ever moved to superenv. Do the opposite of #31446. Closes #31446.--- Library/Formula/libstrophe.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/libstrophe.rb b/Library/Formula/libstrophe.rb index 6ae999533..be725b4f0 100644 --- a/Library/Formula/libstrophe.rb +++ b/Library/Formula/libstrophe.rb @@ -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 -- cgit v1.2.3