aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libstrophe.rb
diff options
context:
space:
mode:
authorMike McQuaid2014-08-21 15:42:22 +0100
committerMike McQuaid2014-08-21 15:42:22 +0100
commitde1e9e11d91c706c5b5f72920dfb8f0db004f11e (patch)
treea88f4949b2f954a1b6ba70396291107c06b5705b /Library/Formula/libstrophe.rb
parent43c8e94622519d227001953c2cbea2b1b3ef7ee5 (diff)
downloadhomebrew-de1e9e11d91c706c5b5f72920dfb8f0db004f11e.tar.bz2
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.
Diffstat (limited to 'Library/Formula/libstrophe.rb')
-rw-r--r--Library/Formula/libstrophe.rb2
1 files changed, 1 insertions, 1 deletions
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