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 <[email protected]>

[...]

> -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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to