]> git.pld-linux.org Git - packages/gdal.git/blame - gdal-soname.patch
- massive attack: adding Source-md5
[packages/gdal.git] / gdal-soname.patch
CommitLineData
6b59fa88
JB
1--- gdal-1.1.8/GNUmakefile.orig Sun Jan 26 12:36:20 2003
2+++ gdal-1.1.8/GNUmakefile Sun Jan 26 13:39:08 2003
3@@ -10,7 +10,7 @@
4 force-lib:
5 $(AR) r $(GDAL_LIB) $(GDAL_OBJ)
6 $(RANLIB) $(GDAL_LIB)
7- $(LD_SHARED) $(GDAL_OBJ) $(GDAL_LIBS) $(LIBS) -o $(GDAL_SLIB)
8+ $(LD_SHARED) -Wl,-soname=libgdal.$(GDAL_VER).$(SO_EXT) $(GDAL_OBJ) $(GDAL_LIBS) $(LIBS) -o $(GDAL_SLIB)
9
10 # If you really want proper SO files that will work in /usr/lib
11 # Try replacing the above command with something like this:
12@@ -23,7 +23,7 @@
13 $(RANLIB) $(GDAL_LIB)
14
15 $(GDAL_SLIB): $(GDAL_LIB) $(GDALA_DEP)
16- $(LD_SHARED) $(GDAL_OBJ) $(GDAL_LIBS) $(LIBS) -o $(GDAL_SLIB)
17+ $(LD_SHARED) -Wl,-soname=libgdal.$(GDAL_VER).$(SO_EXT) $(GDAL_OBJ) $(GDAL_LIBS) $(LIBS) -o $(GDAL_SLIB)
18
19 check-lib:
20 $(MAKE) $(GDAL_LIB)
21@@ -143,6 +143,7 @@
22 $(INSTALL) $(GDAL_LIB) $(DESTDIR)$(INST_LIB)
23 ifeq ($(HAVE_LD_SHARED),yes)
24 $(INSTALL) $(GDAL_SLIB) $(DESTDIR)$(INST_LIB)
25+ ln -sf $(GDAL_SLIB) $(DESTDIR)$(INST_LIB)/libgdal.so
26 endif
27 for f in data/*.* ; do $(INSTALL) -m 0644 $$f $(DESTDIR)$(INST_DATA) ; done
28
This page took 0.038279 seconds and 4 git commands to generate.