tevent: create symbol links to shared libraries see https://bugzilla.samba.org/show_b...
[metze/samba/wip.git] / lib / tevent / tevent.mk
index 694d082c4a9f2eeb5313b5085a8f1db4fc7fa544..57bfd8122218cec54b4d23c0a07a12959e14c085 100644 (file)
@@ -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)