aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/glib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/glib.rb')
-rw-r--r--Library/Formula/glib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/glib.rb b/Library/Formula/glib.rb
index 8b072f8c4..34c840e66 100644
--- a/Library/Formula/glib.rb
+++ b/Library/Formula/glib.rb
@@ -114,7 +114,7 @@ class Glib < Formula
}
EOS
flags = ["-I#{include}/glib-2.0", "-I#{lib}/glib-2.0/include", "-lglib-2.0"]
- 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