|Summary:||x11-libs/libgksu: libs are being passed through _LDFLAGS|
|Product:||Gentoo Linux||Reporter:||Diego Elio Pettenò (RETIRED) <flameeyes>|
|Component:||New packages||Assignee:||Daniel Gryniewicz (RETIRED) <dang>|
|Package list:||Runtime testing required:||---|
|Bug Depends on:|
Description Diego Elio Pettenò (RETIRED) 2008-06-14 17:42:06 UTC
If you check the -fbsd patch you can easily see that libraries used for linking the tests are passed through _LDFLAGS. This is probably caused by automake hissing about "--libs" that should be passed through _LDFLAGS rather than _LDFLAGS. Both are wrong. The configure script should use PKG_CHECK_MODULES for glib-2.0 and then the variables read there should be used in the Makefile.am. As it is it will break with --as-needed.
Comment 1 Daniel Gryniewicz (RETIRED) 2008-06-25 14:35:43 UTC
It actually builds fine with --as-needed.
Comment 2 Rémi Cardona (RETIRED) 2008-06-25 14:46:43 UTC
(In reply to comment #0) > should be passed through _LDFLAGS rather than _LDFLAGS. I'm sure there's something wrong with this bit ;)
Comment 3 Diego Elio Pettenò (RETIRED) 2008-06-25 14:58:39 UTC
Uh yeah that was meant to be _LIBS :P As for building with --as-needed, as long as libtool reorders the parameters sure it works... I'm bypassing libtool though by forcing it in the specs.
Comment 4 Gilles Dartiguelongue (RETIRED) 2009-01-19 21:31:02 UTC
fixed in 2.0.7 bump. Please reopen if there is still a problem.