tevent: create symbol links to shared libraries see https://bugzilla.samba.org/show_b...
authorBrian Lu <brian.lu@sun.com>
Thu, 17 Dec 2009 06:55:57 +0000 (14:55 +0800)
committerStefan Metzmacher <metze@samba.org>
Wed, 6 Jan 2010 13:27:38 +0000 (14:27 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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)