summaryrefslogtreecommitdiff
path: root/recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch')
-rw-r--r--recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch b/recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch
new file mode 100644
index 0000000000..a053b9ee81
--- /dev/null
+++ b/recipes/uclibc/uclibc-0.9.27/dyn-ldconfig.patch
@@ -0,0 +1,34 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- uClibc/utils/Makefile~dyn-ldconfig
++++ uClibc/utils/Makefile
+@@ -45,7 +45,7 @@
+ $(STRIPTOOL) -x -R .note -R .comment $@
+
+ ldconfig: ldconfig.c
+- $(CC) $(CFLAGS) -Wl,-s -static \
++ $(CC) $(CFLAGS) -Wl,-s $(if $(filter $(UCLIBC_STATIC_LDCONFIG),y),-static) \
+ -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \
+ -DUCLIBC_LDSO=$(UCLIBC_LDSO) -I. -I../ldso/include \
+ $^ -o $@
+--- uClibc/extra/Configs/Config.in~dyn-ldconfig
++++ uClibc/extra/Configs/Config.in
+@@ -311,6 +311,15 @@
+ if you are using an older Linux kernel (2.0.x) that lacks large file
+ support. Enabling this option will increase the size of uClibc.
+
++config UCLIBC_STATIC_LDCONFIG
++ bool "Link ldconfig statically"
++ default y
++ help
++ If you wish to link the ldconfig binary statically, enable this option.
++ It being static can be beneficial if you have a library problem and need
++ ldconfig to recover from it. If keeping the size down is more important
++ to you than system recovery, disable this option.
++
+ choice
+ prompt "Malloc Implementation"
+ default MALLOC if ! ARCH_HAS_MMU