[svn-commits] sruffell: tools/trunk r5533 - /tools/trunk/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 15 14:19:08 CST 2008


Author: sruffell
Date: Mon Dec 15 14:19:07 2008
New Revision: 5533

URL: http://svn.digium.com/view/dahdi?view=rev&rev=5533
Log:
Overwrite the libtonezone.so.1.0 and libtonezone.so.1 links and libraries in
order to maintain binary compatibility with applications linked with
dahdi-tools 2.0.0.

Issue: DAHDI-216

Modified:
    tools/trunk/Makefile

Modified: tools/trunk/Makefile
URL: http://svn.digium.com/view/dahdi/tools/trunk/Makefile?view=diff&rev=5533&r1=5532&r2=5533
==============================================================================
--- tools/trunk/Makefile (original)
+++ tools/trunk/Makefile Mon Dec 15 14:19:07 2008
@@ -240,6 +240,15 @@
 		$(DESTDIR)$(LIB_DIR)/$(LTZ_SO).$(LTZ_SO_MAJOR_VER)
 	$(LN) -sf $(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) \
 		$(DESTDIR)$(LIB_DIR)/$(LTZ_SO)
+	# Overwrite the 1.0 links out there.  dahdi-tools 2.0.0 installed
+	# 1.0 links but dahdi-tools changed them to 2.0 in order to explicitly
+	# break applications linked with zaptel.  But, this also meant that
+	# applications linked with libtonezone.so.1.0 broke when dahdi-tools
+	# 2.1.0 was installed.
+	$(LN) -sf $(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) \
+		$(DESTDIR)$(LIB_DIR)/$(LTZ_SO).1.0
+	$(LN) -sf $(LTZ_SO).$(LTZ_SO_MAJOR_VER).$(LTZ_SO_MINOR_VER) \
+		$(DESTDIR)$(LIB_DIR)/$(LTZ_SO).1
 ifneq (no,$(USE_SELINUX))
   ifeq (,$(DESTDIR))
 	/sbin/restorecon -v $(DESTDIR)$(LIB_DIR)/$(LTZ_SO)




More information about the svn-commits mailing list