diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-14 17:45:32 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-14 23:17:55 -0700 |
commit | 06efebe6139acbe819ef5c4e8b0e832c113fb9ef (patch) | |
tree | 760473fdd587820852fd53bcd4e7a831d9f55e44 | |
parent | f37c23704cb73d57e9e478295d1641df1d9104c7 (diff) | |
download | unicorn-06efebe6139acbe819ef5c4e8b0e832c113fb9ef.tar.gz |
Rubinius doesn't seem to set this by default
-rw-r--r-- | ext/unicorn_http/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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") |