Permalink
Browse files

suffix php mapscript lib with version number (#4525)

closes #4525
  • Loading branch information...
1 parent b03a914 commit 7364f12a9efc21f8bdfae431356f3e74dda4e364 @tbonfort tbonfort committed Dec 11, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 mapscript/php/Makefile.in
@@ -91,6 +91,8 @@ OBJ_SUFFIX=lo
LINK=$(LTLD) $(LD) $(LT_LDFLAGS)
MS_LIBS = ../../libmapserver.la
+MS_VERSION = @MS_VERSION@
+
#
# The rest of the file should not have to be edited...
#
@@ -114,10 +116,10 @@ PHPPROJ_OBJS = php_mapscript_util.$(OBJ_SUFFIX) php_proj.$(OBJ_SUFFIX) $(PHP_REG
php_mapscript.la: $(PHPMS_OBJS) ../../libmapserver.la
- $(LINK) -o $@ $(PHPMS_OBJS) $(MS_LIBS)
+ $(LINK) -release $(MS_VERSION) -o $@ $(PHPMS_OBJS) $(MS_LIBS)
php_proj.la: $(PHPPROJ_OBJS) ../libmapserver.la
- $(LINK) -o $@ $(PHPPROJ_OBJS) $(MS_LIBS)
+ $(LINK) -release $(MS_VERSION) -o $@ $(PHPPROJ_OBJS) $(MS_LIBS)
%.lo: %.c php_mapscript_util.h php_mapscript.h
$(LTCC) $(CC) $(CFLAGS112) -c -o $@ $<

0 comments on commit 7364f12

Please sign in to comment.