[GRASS-SVN] r66895 - grass/branches/releasebranch_7_0

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Nov 22 13:57:07 PST 2015


Author: neteler
Date: 2015-11-22 13:57:07 -0800 (Sun, 22 Nov 2015)
New Revision: 66895

Modified:
   grass/branches/releasebranch_7_0/aclocal.m4
   grass/branches/releasebranch_7_0/configure
Log:
Makefile system: add soname on linux (trac #68) (aclocal.m4 part of trunk r66728 along with autoconf-2.13 re-run)

Modified: grass/branches/releasebranch_7_0/aclocal.m4
===================================================================
--- grass/branches/releasebranch_7_0/aclocal.m4	2015-11-22 20:16:02 UTC (rev 66894)
+++ grass/branches/releasebranch_7_0/aclocal.m4	2015-11-22 21:57:07 UTC (rev 66895)
@@ -488,7 +488,7 @@
     case $host in
         *-linux-* | *-gnu* | *-kfreebsd*-gnu)
 	    SHLIB_CFLAGS="-fPIC"
-            SHLIB_LD_FLAGS=""
+            SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$[@])"
 	    SHLIB_SUFFIX=".so"
 	    SHLIB_LD="${CC} -shared"
             LDFLAGS="-Wl,--export-dynamic"

Modified: grass/branches/releasebranch_7_0/configure
===================================================================
--- grass/branches/releasebranch_7_0/configure	2015-11-22 20:16:02 UTC (rev 66894)
+++ grass/branches/releasebranch_7_0/configure	2015-11-22 21:57:07 UTC (rev 66895)
@@ -1486,7 +1486,7 @@
     case $host in
         *-linux-* | *-gnu* | *-kfreebsd*-gnu)
 	    SHLIB_CFLAGS="-fPIC"
-            SHLIB_LD_FLAGS=""
+            SHLIB_LD_FLAGS="-Wl,-soname,\$(notdir \$@)"
 	    SHLIB_SUFFIX=".so"
 	    SHLIB_LD="${CC} -shared"
             LDFLAGS="-Wl,--export-dynamic"



More information about the grass-commit mailing list