gallium/r600: fix r600 build when OpenCL is enabled
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 28 Feb 2017 04:39:08 +0000 (15:39 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 28 Feb 2017 04:42:18 +0000 (15:42 +1100)
Fixes build regression caused by d90bf4ef3e1db7

src/gallium/targets/pipe-loader/Makefile.am

index f805c4be2a93a61180bddc76e17a397d0183c627..26f79536fc12e87fea30f16a0aa1e330ceb51797 100644 (file)
@@ -131,6 +131,11 @@ pipe_r600_la_LIBADD = \
        $(LIBDRM_LIBS) \
        $(RADEON_LIBS)
 
+if NEED_RADEON_LLVM
+pipe_r600_la_LIBADD += \
+       $(top_builddir)/src/amd/common/libamd_common.la
+endif
+
 endif
 
 if HAVE_GALLIUM_RADEONSI