aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-02-28 15:39:08 +1100
committerTimothy Arceri <[email protected]>2017-02-28 15:42:18 +1100
commit4d0d81379e6cdb1b2af952cdad95b1d958e96ef3 (patch)
treef3e96478015595a12ff691208d9f20f82a378ad3 /src/gallium/targets
parentd90bf4ef3e1db71d407f492254c594adffa592b3 (diff)
gallium/r600: fix r600 build when OpenCL is enabled
Fixes build regression caused by d90bf4ef3e1db7
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/pipe-loader/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index f805c4be2a9..26f79536fc1 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -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