summaryrefslogtreecommitdiff
path: root/install-gallium-links.mk
diff options
context:
space:
mode:
authorTim Rowley <timothy.o.rowley@intel.com>2016-04-13 15:06:45 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-04-14 16:30:57 +0100
commitaee976703dc81d2bd8b9779cd4d2e35a500bf705 (patch)
tree54e2234978be15652d6681f50a6c4dee1df173bf /install-gallium-links.mk
parent112291964e27c1e0e570cdff267306b4332af903 (diff)
downloadmesa-aee976703dc81d2bd8b9779cd4d2e35a500bf705.tar.gz
mesa-aee976703dc81d2bd8b9779cd4d2e35a500bf705.tar.bz2
mesa-aee976703dc81d2bd8b9779cd4d2e35a500bf705.zip
install-gallium-links.mk: handle multiple libraries
Need to prevent bash from interpreting whitespace between libraries as a command line. Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r--install-gallium-links.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk
index 4010cad15c0..ac5a499c48f 100644
--- a/install-gallium-links.mk
+++ b/install-gallium-links.mk
@@ -12,9 +12,9 @@ all-local : .install-gallium-links
link_dir=$(top_builddir)/$(LIB_DIR)/egl; \
fi; \
$(MKDIR_P) $$link_dir; \
- file_list=$(dri_LTLIBRARIES:%.la=.libs/%.so); \
- file_list+=$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
- file_list+=$(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); \
+ file_list="$(dri_LTLIBRARIES:%.la=.libs/%.so)"; \
+ file_list+="$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)"; \
+ file_list+="$(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)"; \
for f in $$file_list; do \
if test -h .libs/$$f; then \
cp -d $$f $$link_dir; \