On Wed, Jan 25, 2017 at 09:28:21AM +0500, Mihail Konev wrote: > (The static library was acting like ld's --begin-group ... --end-group > for all its LIBADD-s).
Wrong, this would only apply to .a libraries; but *_SYS_LIBS in question are all "-l*"-s. Instead, libtool was remembering the args in the xservertest.la file as dependencies, then appending them to test/{string,list,...} link command after the test/.libs/xservertest.a . As there is nothing now that tells libtool that the former xservertest.la components depend on the *_SYS_LIBS, moving "-l"-s to the end of ld command has to be done manually. _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel