summaryrefslogtreecommitdiff
blob: e23ef6f3bc784996105696e89c7f85f1db7ce813 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.in.orig	2008-03-01 14:32:39.000000000 -0800
+++ configure.in	2008-03-01 14:37:27.000000000 -0800
@@ -36,7 +36,9 @@
 	          GEOTIFF_DLL=cyggeotiff-1.dll
 	          GEOTIFF_IMP=libgeotiff.dll.a
                   LD_SHARED="gcc -shared -Wl,--export-all -Wl,--out-implib=\$(GEOTIFF_IMP)" ;;
-    *) GEOTIFF_SO=libgeotiff.${SO_EXT}.$VERSION_MAJOR.$VERSION_MINOR.$VERSION_POINT ;;
+    *) GEOTIFF_SO=libgeotiff.${SO_EXT}.$VERSION_MAJOR.$VERSION_MINOR.$VERSION_POINT
+       GEOTIFF_SONAME=libgeotiff.${SO_EXT}.$VERSION_MAJOR.$VERSION_MINOR
+       LD_SHARED="gcc -shared -Wl,-soname -Wl,$GEOTIFF_SONAME" ;;
   esac
 fi
 AC_SUBST(GEOTIFF_SO,$GEOTIFF_SO)