Makefile.am: explicitly link with libdrm

Otherwise, a failure happens with gold linker:

../src/.libs/libvirglrenderer.so: error: undefined reference to 'drmPrimeHandleToFD'

https://errors.yoctoproject.org/Errors/Details/222046/

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Alexander Kanavin 6 years ago committed by Dave Airlie
parent 70677eedb7
commit dff435479c
  1. 1
      src/Makefile.am

@ -1,5 +1,6 @@
SUBDIRS := gallium/auxiliary SUBDIRS := gallium/auxiliary
AM_LDFLAGS = -lm \ AM_LDFLAGS = -lm \
$(LIBDRM_LIBS) \
$(GBM_LIBS) \ $(GBM_LIBS) \
$(EPOXY_LIBS) \ $(EPOXY_LIBS) \
$(X11_LIBS) \ $(X11_LIBS) \

Loading…
Cancel
Save