summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2008-12-15 20:19:07 +0000
committerShaun Ruffell <sruffell@digium.com>2008-12-15 20:19:07 +0000
commit0eaf4b48481fc79514bb205c98738b7e7c6e7ad5 (patch)
tree70ce76ab4dfff86132fdfa6a78295055ed640d95 /Makefile
parent5825e626088bd4ca63aefcc5b05d6cbd67c8c3f1 (diff)
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 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5533 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 66870d6..241f1fb 100644
--- a/Makefile
+++ b/Makefile
@@ -240,6 +240,15 @@ endif
$(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)