[PATCH v4 xserver 6/6] tests: Remove obsolete libxservertest.la

Michel Dänzer michel at daenzer.net
Fri Jan 13 07:09:18 UTC 2017


On 12/01/17 05:21 PM, Mihail Konev wrote:
> Part of refactoring the tests into a single binary,
> to make partial rebuilt slightly faster and less verbose.
> 
> Prevents 'make -j' from not linking test/tests until it links
> test/libxserver.la
> 
> In makefile, remove OS_LIB and DIX_LIB to avoid double-inclusion.
> Also move the libxorgos.la to satisfy libcommon.la.
> 
> Signed-off-by: Mihail Konev <k.mvc at ya.ru>

[...]

> -libxservertest_la_DEPENDENCIES = $(libxservertest_la_LIBADD)
> -endif
> +endif !XORG
> +
> +tests_DEPENDENCIES = $(tests_LDADD)

This broke the build for me:

make[2]: Entering directory '/home/daenzer/src/xorg-git/xserver/build-amd64/test'
Making all in .
make[3]: Entering directory '/home/daenzer/src/xorg-git/xserver/build-amd64/test'
make[3]: *** No rule to make target '-L/usr/local/lib', needed by 'tests'.  Stop.
make[3]: Leaving directory '/home/daenzer/src/xorg-git/xserver/build-amd64/test'


Looks like -L/usr/local/lib worked for libxservertest_la_DEPENDENCIES,
but doesn't for tests_DEPENDENCIES.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the xorg-devel mailing list