targets/xvmc-nouveau: fix accidental hardcoded include path
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 15 Apr 2012 14:40:53 +0000 (16:40 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sun, 15 Apr 2012 14:40:53 +0000 (16:40 +0200)
5b0cd37324555638661a4a70c2bdf49eeebe876c wasn't meant to be pushed.

src/gallium/targets/xvmc-nouveau/Makefile

index e893781..f81f409 100644 (file)
@@ -20,7 +20,7 @@ C_SOURCES = \
 
 DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm_nouveau --libs) -lXfixes
 
-DRIVER_INCLUDES = -I/usr/include/libdrm/
+DRIVER_INCLUDES = $(shell $(PKG_CONFIG) libdrm --cflags-only-I)
 
 LINK_WITH_CXX=1