summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrian Lu <brian.lu@sun.com>2009-12-17 14:55:57 +0800
committerStefan Metzmacher <metze@samba.org>2010-01-07 10:37:46 +0100
commitb4f95b214cf7a328f2656fa81395566e9905ff6e (patch)
treed7889d22d97a3b921367dea6ff740f4e580787c5 /lib
parent2e0df7c8ee5615cb8b1ea3abe727ab59c4bf1f95 (diff)
downloadsamba-b4f95b214cf7a328f2656fa81395566e9905ff6e.tar.gz
tevent: create symbol links to shared libraries see https://bugzilla.samba.org/show_bug.cgi?id=6991 for details
Signed-off-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit f408d58d95f5ac10849742fdcdf7e6160196e8e0)
Diffstat (limited to 'lib')
-rw-r--r--lib/tevent/tevent.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/tevent/tevent.mk b/lib/tevent/tevent.mk
index 694d082c4a9..57bfd812221 100644
--- a/lib/tevent/tevent.mk
+++ b/lib/tevent/tevent.mk
@@ -26,6 +26,10 @@ installheaders:: installdirs
installlibs:: installdirs
cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
cp $(TEVENT_STLIB) $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
+ rm -f $(DESTDIR)$(libdir)/$(TEVENT_SONAME)
+ ln -s $(TEVENT_SOLIB) $(DESTDIR)$(libdir)/$(TEVENT_SONAME)
+ rm -f $(DESTDIR)$(libdir)/$(TEVENT_SOBASE)
+ ln -s $(TEVENT_SOLIB) $(DESTDIR)$(libdir)/$(TEVENT_SOBASE)
install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)