blob: 22cdaaa7302add03a691454263e45363a9c05d81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/app/server/ruby/bin/compile-extensions.rb b/app/server/ruby/bin/compile-extensions.rb
index 7e4f92925..47d15738f 100755
--- a/app/server/ruby/bin/compile-extensions.rb
+++ b/app/server/ruby/bin/compile-extensions.rb
@@ -58,7 +58,7 @@ native_ext_dirs.each do |ext_dir|
Dir.chdir(ext_dir) do
`"#{RbConfig.ruby}" extconf.rb`
`make clean`
- `make`
+ `export CFLAGS="-fPIC" && make`
end
libs = []
|