ext/dtext/extconf.rb in dtext_rb-1.3.0 vs ext/dtext/extconf.rb in dtext_rb-1.4.0
- old
+ new
@@ -1,7 +1,7 @@
require "mkmf"
-$CFLAGS << " -std=c99"
+$CFLAGS << " -std=c99 -D_GNU_SOURCE #{ENV["CFLAGS"]}"
pkg_config "glib-2.0"
have_library "glib-2.0"
have_header "glib.h"