Skip to content

Commit

Permalink
build: Add libdrm_intel dependency
Browse files Browse the repository at this point in the history
Fixes: intel#326
  • Loading branch information
ceyusa authored and xhaihao committed Feb 11, 2018
1 parent f468076 commit 848a2af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ AC_SUBST(LIBVA_PACKAGE_VERSION)

dnl Check for recent enough DRM
LIBDRM_VERSION=libdrm_version
PKG_CHECK_MODULES([DRM], [libdrm >= $LIBDRM_VERSION])
PKG_CHECK_MODULES([DRM], [libdrm >= $LIBDRM_VERSION libdrm_intel])
AC_SUBST(LIBDRM_VERSION)

dnl Check for gen4asm
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ driver_ldflags = \

driver_libs = \
-lpthread -lm -ldl \
$(DRM_LIBS) -ldrm_intel \
$(DRM_LIBS) \
$(NULL)

include Makefile.sources
Expand Down

0 comments on commit 848a2af

Please sign in to comment.