Package: debdelta
Version: 0.43
Severity: normal
Tags: patch
User: debian-...@lists.debian.org
Usertags: ld-as-needed



*** /tmp/tmpZo7w9z
In Ubuntu, the attached patch was applied to achieve the following:

Hi, this package fails to build with ld --as-needed, this change applied
in Ubuntu solves the problem

Regards,

  * Merge from debian unstable.  Remaining changes:
    - debian/rules:
      + Fix linking with -lbz2 and -lz.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-3-generic (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru debdelta-0.43/debian/rules debdelta-0.43ubuntu1/debian/rules
--- debdelta-0.43/debian/rules	2011-05-28 20:02:23.000000000 +0200
+++ debdelta-0.43ubuntu1/debian/rules	2011-05-29 22:59:48.000000000 +0200
@@ -26,11 +26,11 @@
 
 
 minibzip2: minigzip.c
-	$(CC) -DBZIP $(CFLAGS) -lbz2  minigzip.c -o minibzip2 
+	$(CC) -DBZIP $(CFLAGS) minigzip.c -o minibzip2 -lbz2
 
 build: minibzip2
 	$(checkdir)
-	$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="-lz" minigzip
+	$(CC) $(CFLAGS) minigzip.c -o minigzip -lz
 	touch build
 
 clean:

Reply via email to