summaryrefslogtreecommitdiff
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-06 14:27:38 +0100
commitf408d58d95f5ac10849742fdcdf7e6160196e8e0 (patch)
treeedbb13064fa095521dcc6f7671ca8f8ee5ff2446
parenta2044b9a61d9c8ca66067b286ad9bc01cf0490b9 (diff)
downloadsamba-f408d58d95f5ac10849742fdcdf7e6160196e8e0.tar.gz
samba-f408d58d95f5ac10849742fdcdf7e6160196e8e0.tar.bz2
samba-f408d58d95f5ac10849742fdcdf7e6160196e8e0.zip
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>
-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 694d082c4a..57bfd81222 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)