Bug#794009: libedit: Libraries must be added to LIBS instead of LDFLAGS

Tiago Stürmer Daitx tiago.daitx at canonical.com
Wed Jul 29 18:10:45 UTC 2015


Package: libedit
Version: 3.1-20150325-1
Severity: important
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Dear Maintainer,

libedit is failing to build in Wily (proposed) due to LIBBSD_LIBS being added 
to LDFLAGS instead of LIBS.

As stated in 
https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries and 
http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/Preset-Output-Variables.html#index-LDFLAGS-93 
libraries must be added to LIBS instead of LDFLAGS.

*** /tmp/tmpCmy43w/bug_body

In Ubuntu, the attached patch was applied to achieve the following:

- fix build in Wily (proposed)

  * debian/patches/libbsd.patch: use LIBS instead of LDFLAGS 


Thanks for considering the patch.


-- System Information:
Debian Release: jessie/sid
  APT prefers vivid-updates
  APT policy: (500, 'vivid-updates'), (500, 'vivid-security'), (500, 'vivid'), (100, 'vivid-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libedit_3.1-20150325-1ubuntu1.debdiff
Type: text/x-diff
Size: 1096 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150729/b86f016e/attachment.diff>


More information about the Pkg-llvm-team mailing list