From aee976703dc81d2bd8b9779cd4d2e35a500bf705 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Wed, 13 Apr 2016 15:06:45 -0500 Subject: [PATCH] install-gallium-links.mk: handle multiple libraries Need to prevent bash from interpreting whitespace between libraries as a command line. Reviewed-by: Emil Velikov --- install-gallium-links.mk | 6 +++--- 1 file 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; \ -- 2.30.2