patches/uClibc/0.9.28/100-string-functions.patch
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Sun Aug 02 16:45:43 2009 +0200 (2009-08-02)
changeset 1434 7e7290acccc1
parent 1 eeea35fbf182
permissions -rw-r--r--
fix wrapper script for symlinks

The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>

---
yann@1
     1
--- uClibc.orig/libc/Makefile	2005-07-20 08:10:44.000000000 +0200
yann@1
     2
+++ uclibc/libc/Makefile	2005-07-28 13:33:40.000000000 +0200
yann@1
     3
@@ -59,7 +59,7 @@
yann@1
     4
 	$(AR) dN 2 $(LIBNAME) $$objs && \
yann@1
     5
 	$(AR) dN 2 $(LIBNAME) $$objs
yann@1
     6
 	@for objfile in obj.signal \
yann@1
     7
-	                obj.string.generic obj.string.$(TARGET_ARCH) obj.string \
yann@1
     8
+	                obj.string obj.string.generic obj.string.$(TARGET_ARCH) \
yann@1
     9
 	                obj.sysdeps.common obj.sysdeps.$(TARGET_ARCH) ; do \
yann@1
    10
 		if [ -e $$objfile ] ; then \
yann@1
    11
 			echo $(AR) $(ARFLAGS) $(LIBNAME) $$objfile ; \