]> code.ossystems Code Review - openembedded-core.git/commitdiff
prelink: Add hack for libtool 2.2.2
authorRichard Purdie <richard@openedhand.com>
Wed, 16 Apr 2008 09:05:03 +0000 (09:05 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 16 Apr 2008 09:05:03 +0000 (09:05 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4279 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/prelink/prelink-20061027/makefile.patch [new file with mode: 0644]
meta/packages/prelink/prelink_20061027.bb

diff --git a/meta/packages/prelink/prelink-20061027/makefile.patch b/meta/packages/prelink/prelink-20061027/makefile.patch
new file mode 100644 (file)
index 0000000..7dca363
--- /dev/null
@@ -0,0 +1,14 @@
+# Hack to make this work with libtool 2.2.2
+
+Index: prelink-0.0.20061027/src/Makefile.am
+===================================================================
+--- prelink-0.0.20061027.orig/src/Makefile.am  2008-04-15 17:52:39.000000000 +0100
++++ prelink-0.0.20061027/src/Makefile.am       2008-04-15 17:52:45.000000000 +0100
+@@ -21,7 +21,6 @@
+                 verify.c canonicalize.c md5.c md5.h sha.c sha.h            \
+                 $(common_SOURCES) $(arch_SOURCES)
+ prelink_LDADD = @LIBGELF@
+-prelink_LDFLAGS = -all-static
+ execstack_SOURCES = execstack.c $(common_SOURCES) $(arch_SOURCES)
index e93f1f25150bf9d1cfcf5e506539e9d2a95b7fb4..0a4391e1611c51f6b09ae86ca2d580d3973513a3 100644 (file)
@@ -4,11 +4,12 @@ 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 = "r5"
+PR = "r6"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/p/prelink/prelink_0.0.${PV}.orig.tar.gz \
            file://prelink.conf \
            file://prelink.cron.daily \
+           file://makefile.patch;patch=1 \
            file://prelink.default"
 
 TARGET_OS_ORIG := "${TARGET_OS}"