mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-09 06:18:05 +02:00
tests/kmstest: inverse the order of LDADD libraries
The utils library depends on libdrm. Flip the order, orderwise we might error during link stage like below: CC main.o CCLD kmstest /usr/bin/ld: ../../tests/util/.libs/libutil.a(libutil_la-kms.o): undefined reference to symbol 'drmOpen' Reported-by: Tom Stellard <thomas.stellard@amd.com> Tested-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
This commit is contained in:
parent
ff0c9caa8e
commit
432e08de88
1 changed files with 2 additions and 2 deletions
|
|
@ -17,9 +17,9 @@ kmstest_SOURCES = \
|
|||
main.c
|
||||
|
||||
kmstest_LDADD = \
|
||||
$(top_builddir)/libdrm.la \
|
||||
$(top_builddir)/tests/util/libutil.la \
|
||||
$(top_builddir)/libkms/libkms.la \
|
||||
$(top_builddir)/tests/util/libutil.la
|
||||
$(top_builddir)/libdrm.la
|
||||
|
||||
run: kmstest
|
||||
./kmstest
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue