diff options
| author | Mike McQuaid | 2014-08-21 15:42:22 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-21 15:42:22 +0100 |
| commit | de1e9e11d91c706c5b5f72920dfb8f0db004f11e (patch) | |
| tree | a88f4949b2f954a1b6ba70396291107c06b5705b /Library/Formula/libstrophe.rb | |
| parent | 43c8e94622519d227001953c2cbea2b1b3ef7ee5 (diff) | |
| download | homebrew-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.rb | 2 |
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 |
