[mapserver-commits] r13167 - trunk/mapserver/mapscript/java

svn at osgeo.org svn at osgeo.org
Thu Feb 23 08:46:19 EST 2012


Author: unicoletti
Date: 2012-02-23 05:46:19 -0800 (Thu, 23 Feb 2012)
New Revision: 13167

Modified:
   trunk/mapserver/mapscript/java/Makefile.in
Log:
add versioning to library name

Modified: trunk/mapserver/mapscript/java/Makefile.in
===================================================================
--- trunk/mapserver/mapscript/java/Makefile.in	2012-02-23 13:31:33 UTC (rev 13166)
+++ trunk/mapserver/mapscript/java/Makefile.in	2012-02-23 13:46:19 UTC (rev 13167)
@@ -15,6 +15,11 @@
 SWIG=swig
 
 #
+# MS_VERSION - Set by configure based in mapserver.h
+#
+MS_VERSION=	@MS_VERSION@
+
+#
 # Java Stuff
 #
 JAVADOC=javadoc
@@ -46,7 +51,7 @@
 all: javamapscript.jar
 
 libjavamapscript.la: javamapscript_wrap.lo $(MS_LIB)
-	$(LINK) -o $@ javamapscript_wrap.lo $(MS_LIB)
+	$(LINK) -release $(MS_VERSION) -o $@ javamapscript_wrap.lo $(MS_LIB)
 
 %.lo: %.c
 	$(LTCC) $(CC) -fno-strict-aliasing -fpic -c $(CFLAGS) $(JAVA_INCLUDE) -c -o $@ $<



More information about the mapserver-commits mailing list