libindicator build system: whitespace missing before "-lm"

Bug #1502925 reported by Ian Stakenvicius
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libindicator
Fix Released
Undecided
Iain Lane

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

Related branches

Ian Stakenvicius (axs-h)
affects: libindicator (Ubuntu) → libindicator
Revision history for this message
Charles Kerr (charlesk) wrote :

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: nobody → Iain Lane (laney)
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.