← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1502925] Re: libindicator build system: whitespace missing before "-lm"

 

Fixed by Laney's 2015-12-08 patch.

Am I reading <http://bazaar.launchpad.net/~indicator-applet-
developers/libindicator/trunk.15.10/revision/532> right that this bug is
being reported against 12.10? Quantal was EOLed in May 2014.

** Changed in: libindicator
     Assignee: (unassigned) => Iain Lane (laney)

** Changed in: libindicator
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to libindicator.
https://bugs.launchpad.net/bugs/1502925

Title:
  libindicator build system: whitespace missing before "-lm"

Status in libindicator:
  Fix Released

Bug description:
  configure.ac sets LIBINDICATOR_LIBS+="$LIBM" , which is fine as long
  as the valie of LIBINICATOR_LIBS had a trailing space first.  pkg-
  config 0.29 at least (other versions and variants are likely too) does
  not add a trailing space after the libs output, in the results from
  PKG_CHECK_MODULES.  This results in the linker flags for
  libindicator.so having '-lglib-2.0-lm', as shown here:

  https://bugs.gentoo.org/attachment.cgi?id=413560

  The fix is fairly simple, just add a leading space prior to $LIBM,
  which should really be done every time values are appended to
  variables.

  More info can be found at https://bugs.gentoo.org/545334

To manage notifications about this bug go to:
https://bugs.launchpad.net/libindicator/+bug/1502925/+subscriptions


References