summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-11-13 12:35:02 -0800
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-11-13 12:36:25 -0800
commit0d2bf2742eca175a9c92fe939ddb202f63594af1 (patch)
tree2d01b91fe699ec285e0f329b0ff8ab54e67dd858
parent76e71ddfd4f4b9fb240458ea4c9183b139d50b88 (diff)
Make sure DRM library paths are includedxf86-video-intel-2.5.1
We need @DRM_LIBS@ in order to find drm_intel if installed in a non-standard path.
-rw-r--r--src/Makefile.am4
1 files changed, 2 insertions, 2 deletions
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=\