summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2016-02-08 12:07:48 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2016-02-08 12:07:48 +0100
commit09a104b7964a98939a79b7eed1dda69a02f9de86 (patch)
tree7a751d5fc7b5c9d09dc37a8f4a37a0c0c2468e4d /patches
parentc57477e8e4c64377148343206c73f1fcb9127af7 (diff)
downloadptxdist-09a104b7964a98939a79b7eed1dda69a02f9de86.tar.gz
ptxdist-09a104b7964a98939a79b7eed1dda69a02f9de86.tar.xz
bsdiff: fix linking with --as-needed
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'patches')
-rw-r--r--patches/bsdiff-4.3/0001-Makefile-convert-to-standard-make-and-add-DESTDIR-su.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/patches/bsdiff-4.3/0001-Makefile-convert-to-standard-make-and-add-DESTDIR-su.patch b/patches/bsdiff-4.3/0001-Makefile-convert-to-standard-make-and-add-DESTDIR-su.patch
index 838065de3..54ae2822c 100644
--- a/patches/bsdiff-4.3/0001-Makefile-convert-to-standard-make-and-add-DESTDIR-su.patch
+++ b/patches/bsdiff-4.3/0001-Makefile-convert-to-standard-make-and-add-DESTDIR-su.patch
@@ -3,22 +3,24 @@ Date: Fri, 6 Nov 2015 11:55:04 +0100
Subject: [PATCH] Makefile: convert to standard make and add DESTDIR support
---
- Makefile | 7 +++----
- 1 file changed, 3 insertions(+), 4 deletions(-)
+ Makefile | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
-index a5226071b4f7..95689f948196 100644
+index a5226071b4f7..e11950fc5723 100644
--- a/Makefile
+++ b/Makefile
-@@ -1,6 +1,7 @@
- CFLAGS += -O3 -lbz2
+@@ -1,6 +1,8 @@
+-CFLAGS += -O3 -lbz2
++CFLAGS += -O3
++LDLIBS += -lbz2
PREFIX ?= /usr/local
+INSTALL ?= install
INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555
INSTALL_MAN ?= ${INSTALL} -c -m 444
-@@ -9,7 +10,5 @@ bsdiff: bsdiff.c
+@@ -9,7 +11,5 @@ bsdiff: bsdiff.c
bspatch: bspatch.c
install: