GNOME Bugzilla – Bug 724283
Consider axing EXTRA_DAEMON_LIBS
Last modified: 2014-02-25 21:51:26 UTC
This was introduced for probably-no-longer-relevant reasons in bug 85785: # Note that these libs are in LDFLAGS because they should come before # everything else on the link line as they may override stuff gdm_LDFLAGS = \ $(EXTRA_DAEMON_LIBS) \ $(NULL) Maybe it's time to remove it.
Created attachment 270328 [details] [review] Stop using LDFLAGS for libraries Originally, EXTRA_*_LIBS was introduced as a way to get certain libraries to the front of the line when invoking the linker in order to control which version of a library we got. See bug 85785 for the history there. This is probably no longer needed, so officially declare that the only thing that the EXTRA_ variables mean is "not from pkg-config". Move all of the EXTRA_*_LIBS from LDFLAGS to _LDADD, along with some other things that were improperly in LDFLAGS.
Review of attachment 270328 [details] [review]: do it!
Attachment 270328 [details] pushed as 9a23fcc - Stop using LDFLAGS for libraries
*** Bug 724276 has been marked as a duplicate of this bug. ***