Fix build with jasper 2.0. Release 9
[packages/gdal.git] / gdal-fpic.patch
CommitLineData
6856f253
AG
1--- gdal-1.9.0/swig/ruby/RubyMakefile.mk~ 2012-01-04 08:03:41.000000000 +0100
2+++ gdal-1.9.0/swig/ruby/RubyMakefile.mk 2012-02-13 16:12:17.778605160 +0100
3@@ -41,7 +41,8 @@
4 RUBY_LIB := -l$(RUBY_SO_NAME)
5 else
6 RUBY_MODULES=$(RUBY_MODULES_LIN)
7-LDFLAGS += -Xcompiler -shared -L$(RUBY_LIB_DIR)
8+LDFLAGS += -fPIC -Xcompiler -shared -L$(RUBY_LIB_DIR)
9+CFLAGS += -fPIC
10 RUBY_LIB := -l$(RUBY_SO_NAME)
11 endif
12
This page took 0.034351 seconds and 4 git commands to generate.