[poky] [PATCH 1/1] screenshot: change the order of LDADD arguments
Scott Garman
scott.a.garman at intel.com
Tue Mar 1 22:56:49 PST 2011
On 03/01/2011 05:17 PM, Yu, Ke wrote:
> Interesting fix. Could you elaborate a bit more why changing the
> order of *.la and libs has the effect? it should be a good learning
> to me.
Hi Ke,
The order of linker arguments does matter when dependencies exist. In
this case, libshot.la depends on GTK_LIBS, so it needs to be listed first.
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
More information about the poky
mailing list