From 30c29627c859f1f6780aa652d6de4fa985b63dd0 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 13 Nov 2008 12:35:02 -0800 Subject: Make sure DRM library paths are included We need @DRM_LIBS@ in order to find drm_intel if installed in a non-standard path. --- src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 9b322151..232ac533 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,12 +37,12 @@ AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRM_CFLAGS@ @DRI_CFLAGS@ \ intel_drv_la_LTLIBRARIES = intel_drv.la intel_drv_la_LDFLAGS = -module -avoid-version intel_drv_ladir = @moduledir@/drivers -intel_drv_la_LIBADD = -lm -ldrm_intel +intel_drv_la_LIBADD = -lm @DRM_LIBS@ -ldrm_intel if BUILD_UXA intel_drv_la_LIBADD += ../uxa/libuxa.la endif if XSERVER_LIBPCIACCESS -intel_drv_la_LIBADD += @PCIACCESS_LIBS@ @DRM_LIBS@ +intel_drv_la_LIBADD += @PCIACCESS_LIBS@ endif XMODE_SRCS=\ -- cgit v1.2.3