[libss7-commits] qwell: trunk r206 - /trunk/Makefile

SVN commits to the libss7 project libss7-commits at lists.digium.com
Wed Aug 6 13:34:03 CDT 2008


Author: qwell
Date: Wed Aug  6 13:34:03 2008
New Revision: 206

URL: http://svn.digium.com/view/libss7?view=rev&rev=206
Log:
ldconfig won't create these links if you're using INSTALL_PREFIX

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/libss7/trunk/Makefile?view=diff&rev=206&r1=205&r2=206
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Aug  6 13:34:03 2008
@@ -46,7 +46,7 @@
 	mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include
 	install -m 644 libss7.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
 	install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
-	( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; $(SOSLINK) )
+	( cd $(INSTALL_PREFIX)$(libdir) ; ln -sf libss7.so.1 libss7.so ; ln -sf libss7.so.1.0 libss7.so.1 ; $(SOSLINK) )
 	install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
 	if test $$(id -u) = 0; then $(LDCONFIG); fi
 
@@ -58,6 +58,7 @@
 	$(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS)
 	$(LDCONFIG) $(LDCONFIG_FLAGS) .
 	ln -sf libss7.so.1 libss7.so
+	ln -sf libss7.so.1.0 libss7.so.1
 	$(SOSLINK)
 
 version.c: FORCE




More information about the libss7-commits mailing list