- try to fix ruby build auto/th/gdal-1_9_0-4
authorAdam Gołębiowski <adamg@pld-linux.org>
Mon, 13 Feb 2012 15:35:31 +0000 (15:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gdal-fpic.patch -> 1.1

gdal-fpic.patch [new file with mode: 0644]

diff --git a/gdal-fpic.patch b/gdal-fpic.patch
new file mode 100644 (file)
index 0000000..3f12b77
--- /dev/null
@@ -0,0 +1,12 @@
+--- gdal-1.9.0/swig/ruby/RubyMakefile.mk~      2012-01-04 08:03:41.000000000 +0100
++++ gdal-1.9.0/swig/ruby/RubyMakefile.mk       2012-02-13 16:12:17.778605160 +0100
+@@ -41,7 +41,8 @@
+ RUBY_LIB := -l$(RUBY_SO_NAME)
+ else
+ RUBY_MODULES=$(RUBY_MODULES_LIN)
+-LDFLAGS += -Xcompiler -shared -L$(RUBY_LIB_DIR)
++LDFLAGS += -fPIC -Xcompiler -shared -L$(RUBY_LIB_DIR)
++CFLAGS += -fPIC
+ RUBY_LIB := -l$(RUBY_SO_NAME)
+ endif
This page took 0.039237 seconds and 4 git commands to generate.