gallium/xvmc: r300 and r600 now depend on libdrm_radeon
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Feb 2012 23:21:23 +0000 (18:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 11 Feb 2012 15:57:24 +0000 (10:57 -0500)
Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=45907

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/targets/xvmc-r300/Makefile
src/gallium/targets/xvmc-r600/Makefile

index 43bc9abc4d7a6ffe27950da83414de73f54b122b..221335aae7267f2fa134420e78f65f29dbb6bb71 100644 (file)
@@ -15,7 +15,7 @@ C_SOURCES = \
        $(COMMON_GALLIUM_SOURCES) \
        $(DRIVER_SOURCES)
 
-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes
+DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -ldrm_radeon
 
 include ../Makefile.xvmc
 
index d8638bf7f846ec76f7c8f099701568d84998da37..666712015d5511a25a9c8c1d991b5eaf897093ab 100644 (file)
@@ -15,7 +15,7 @@ C_SOURCES = \
        $(COMMON_GALLIUM_SOURCES) \
        $(DRIVER_SOURCES)
 
-DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes
+DRIVER_LIBS = $(shell $(PKG_CONFIG) libdrm --libs) -lXfixes -ldrm_radeon
 
 include ../Makefile.xvmc