From 06efebe6139acbe819ef5c4e8b0e832c113fb9ef Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 14 Sep 2009 17:45:32 -0700 Subject: http: compile with -fPIC Rubinius doesn't seem to set this by default --- ext/unicorn_http/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext') diff --git a/ext/unicorn_http/extconf.rb b/ext/unicorn_http/extconf.rb index 164df66..00328be 100644 --- a/ext/unicorn_http/extconf.rb +++ b/ext/unicorn_http/extconf.rb @@ -1,6 +1,8 @@ # -*- encoding: binary -*- require 'mkmf' +$CFLAGS += " -fPIC " # needed for Rubinius, MRI already uses it regardless + dir_config("unicorn_http") have_macro("SIZEOF_OFF_T", "ruby.h") or check_sizeof("off_t", "sys/types.h") -- cgit v1.2.3-24-ge0c7