3 # Patch managed by http://www.holgerschurig.de/patcher.html
6 --- uClibc/utils/Makefile~dyn-ldconfig
7 +++ uClibc/utils/Makefile
9 $(STRIPTOOL) -x -R .note -R .comment $@
12 - $(CC) $(CFLAGS) -Wl,-s -static \
13 + $(CC) $(CFLAGS) -Wl,-s $(if $(filter $(UCLIBC_STATIC_LDCONFIG),y),-static) \
14 -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
15 -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
17 --- uClibc/extra/Configs/Config.in~dyn-ldconfig
18 +++ uClibc/extra/Configs/Config.in
20 if you are using an older Linux kernel (2.0.x) that lacks large file
21 support. Enabling this option will increase the size of uClibc.
23 +config UCLIBC_STATIC_LDCONFIG
24 + bool "Link ldconfig statically"
27 + If you wish to link the ldconfig binary statically, enable this option.
28 + It being static can be beneficial if you have a library problem and need
29 + ldconfig to recover from it. If keeping the size down is more important
30 + to you than system recovery, disable this option.
33 prompt "Malloc Implementation"
34 default MALLOC if ! ARCH_HAS_MMU