Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use -fPIC when compiling libuv too

  • Loading branch information...
commit bf9ffddcbfd1111b1c0414efe1090ab33fe564a2 1 parent 03adcd1
@charliesome authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/ricer/extconf.rb
View
2  ext/ricer/extconf.rb
@@ -11,7 +11,7 @@
libuv_dir = File.expand_path("../../libuv", __FILE__)
ricer_dir = File.expand_path("../", __FILE__)
-system "cd '#{libuv_dir}'; make; cd '#{ricer_dir}'; cp #{libuv_dir}/uv.a #{ricer_dir}/libuv.a"
+system "cd '#{libuv_dir}'; CFLAGS='-fPIC' make; cd '#{ricer_dir}'; cp #{libuv_dir}/uv.a #{ricer_dir}/libuv.a"
dir_config "uv", "#{libuv_dir}/include", ricer_dir
have_library "uv"
Please sign in to comment.
Something went wrong with that request. Please try again.