summaryrefslogtreecommitdiff
path: root/openembedded/packages/glibc/glibc-2.4/dyn-ldconfig-20041128.patch
blob: 451b6d4afcf6132c850de433a690d0c047deb26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#
# Patch managed by http://www.holgerschurig.de/patcher.html
#

--- libc/elf/Makefile~dyn-ldconfig-20041128
+++ libc/elf/Makefile
@@ -118,12 +118,13 @@
 
 ifeq (yes,$(use-ldconfig))
 ifeq (yes,$(build-shared))
-others-static	+= ldconfig
+#others-static	+= ldconfig
 others		+= ldconfig
 install-rootsbin += ldconfig
 
 ldconfig-modules := cache readlib xmalloc xstrdup chroot_canon
 extra-objs	+= $(ldconfig-modules:=.o)
+CPPFLAGS-readlib.c = -DNOT_IN_libc=1
 
 # To find xmalloc.c and xstrdup.c
 vpath %.c ../locale/programs