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 e893781e6b8cda1e9919c029b006267e8b466c97..f81f409dc9ae2ec0d1ff6a5d7234906dac6535b6 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