[libss7-commits] jpeeler: branch 1.0 r270 - /branches/1.0/Makefile
SVN commits to the libss7 project
libss7-commits at lists.digium.com
Tue Aug 18 13:47:02 CDT 2009
Author: jpeeler
Date: Tue Aug 18 13:46:55 2009
New Revision: 270
URL: http://svn.asterisk.org/svn-view/libss7?view=rev&rev=270
Log:
Fix ldconfig error when building with fakeroot
This patch copies the built shared libraries along with the symlinks. Also,
ldconfig is always attempted with errors ignored since while using fakeroot
updating the cache will fail. People running making install not as root are
going to encounter problems before the removed root check anyway.
(closes issue #13313)
Reported by: tzafrir
Patches:
libss7_ldconfig.diff uploaded by tzafrir (license 46)
Tested by: tzafrir
Modified:
branches/1.0/Makefile
Modified: branches/1.0/Makefile
URL: http://svn.asterisk.org/svn-view/libss7/branches/1.0/Makefile?view=diff&rev=270&r1=269&r2=270
==============================================================================
--- branches/1.0/Makefile (original)
+++ branches/1.0/Makefile Tue Aug 18 13:46:55 2009
@@ -45,10 +45,9 @@
mkdir -p $(INSTALL_PREFIX)$(libdir)
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 ; ln -sf libss7.so.1.0 libss7.so.1 )
+ cp -dp *.so* $(INSTALL_PREFIX)$(libdir)
install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(libdir)
- if test $$(id -u) = 0; then $(LDCONFIG); fi
+ $(LDCONFIG) 2> /dev/null || :
$(STATIC_LIBRARY): $(STATIC_OBJS)
ar rcs $(STATIC_LIBRARY) $(STATIC_OBJS)
More information about the libss7-commits
mailing list