[oe-commits] Eric Bénard : prelink_20090925: allow dynamic linking of prelink

git version control git at git.openembedded.org
Wed May 19 12:09:14 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: db531256a7b9500bbff7c3864eb0f643ee0385ee
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=db531256a7b9500bbff7c3864eb0f643ee0385ee

Author: Eric Bénard <eric at eukrea.com>
Date:   Wed May 19 00:19:17 2010 +0200

prelink_20090925: allow dynamic linking of prelink

Signed-off-by: Eric Bénard <eric at eukrea.com>

---

 recipes/prelink/prelink_20090925.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/recipes/prelink/prelink_20090925.bb b/recipes/prelink/prelink_20090925.bb
index 0f0d670..021b74b 100644
--- a/recipes/prelink/prelink_20090925.bb
+++ b/recipes/prelink/prelink_20090925.bb
@@ -4,6 +4,7 @@ DESCRIPTION = " The prelink package contains a utility which modifies ELF shared
 and executables, so that far fewer relocations need to be resolved at \
 runtime and thus programs come up faster."
 LICENSE = "GPL"
+PR = "r1"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
            file://prelink.conf \
@@ -20,6 +21,10 @@ EXTRA_OECONF = "--disable-64bit"
 
 inherit autotools 
 
+do_compile_prepend () {
+	sed -i -e 's:prelink_LDFLAGS = -all-static:#prelink_LDFLAGS = -all-static:g' src/Makefile
+}
+
 do_install_append () {
 	install -d ${D}${sysconfdir}/cron.daily ${D}${sysconfdir}/default
 	install -m 0644 ${WORKDIR}/prelink.conf ${D}${sysconfdir}/prelink.conf





More information about the Openembedded-commits mailing list