[Goodies-dev] Small bug in time-out plugin with LDFLAGS=--as-needed

Harold Aling h.aling at home.nl
Sun Jul 1 13:17:11 CEST 2007


I could create a bug report for this, but it would take way too much 
time for such a trivial fix...

Compiling the xfce-time-out-plugin from SVN doesn't work and output lots 
of stuff like:

$LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common 
-Wl,--as-needed -s" make

...

xfce4_time_out_plugin-time-out-countdown.o: In function 
`time_out_countdown_seconds_to_string':
time-out-countdown.c:(.text+0x13): undefined reference to 
`g_string_sized_new'
time-out-countdown.c:(.text+0xdd): undefined reference to `g_string_printf'
etc, etc...

Changing

xfce4_time_out_plugin_LDFLAGS =

to

xfce4_time_out_plugin_LDADD =

in panel-plugin/Makefile.am fixes this...


Or am I wrong about this???


Cheers!

-H-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/goodies-dev/attachments/20070701/b56865a7/attachment.html>


More information about the Goodies-dev mailing list