summaryrefslogtreecommitdiff
path: root/ext/gtk/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gtk/extconf.rb')
-rw-r--r--ext/gtk/extconf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gtk/extconf.rb b/ext/gtk/extconf.rb
index a30f050e660..5839fac1cec 100644
--- a/ext/gtk/extconf.rb
+++ b/ext/gtk/extconf.rb
@@ -2,7 +2,7 @@ require "mkmf"
# may need to be changed
$LDFLAGS="-L/usr/X11R6/lib -L/usr/local/lib"
-$CFLAGS=`gtk-config --cflags`
+$CFLAGS=`gtk-config --cflags`.chomp!
have_library("X11", "XOpenDisplay")
have_library("Xext", "XShmQueryVersion")