summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiels Ole Salscheider <[email protected]>2013-02-24 23:00:04 +0100
committerMichel Dänzer <[email protected]>2013-04-10 09:45:04 +0200
commit31f14f3def0ffb3851ae746304ece13f54e98af4 (patch)
tree0d9d7865955392090bcfc9a5bd0b93da035d7381
parentb74b510d64bc33ef36cbc02952611f847ac7f123 (diff)
pipe-loader: Fix out of source build
Signed-off-by: Niels Ole Salscheider <[email protected]>
-rw-r--r--src/gallium/targets/opencl/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/targets/opencl/Makefile.am b/src/gallium/targets/opencl/Makefile.am
index 389eecc9d93..810f9bbeb22 100644
--- a/src/gallium/targets/opencl/Makefile.am
+++ b/src/gallium/targets/opencl/Makefile.am
@@ -32,11 +32,11 @@ libOpenCL_la_SOURCES =
# Force usage of a C++ linker
nodist_EXTRA_libOpenCL_la_SOURCES = dummy.cpp
-PIPE_SRC_DIR = $(top_srcdir)/src/gallium/targets/pipe-loader
+PIPE_BUILD_DIR = $(top_builddir)/src/gallium/targets/pipe-loader
# Provide compatibility with scripts for the old Mesa build system for
# a while by putting a link to the driver into /lib of the build tree.
all-local: libOpenCL.la
- @$(MAKE) -C $(PIPE_SRC_DIR)
+ @$(MAKE) -C $(PIPE_BUILD_DIR)
$(MKDIR_P) $(top_builddir)/$(LIB_DIR)
ln -f .libs/libOpenCL.so* $(top_builddir)/$(LIB_DIR)/