diff options
author | Tim Rowley <[email protected]> | 2016-04-13 15:06:45 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-04-14 16:30:57 +0100 |
commit | aee976703dc81d2bd8b9779cd4d2e35a500bf705 (patch) | |
tree | 54e2234978be15652d6681f50a6c4dee1df173bf /install-gallium-links.mk | |
parent | 112291964e27c1e0e570cdff267306b4332af903 (diff) |
install-gallium-links.mk: handle multiple libraries
Need to prevent bash from interpreting whitespace between libraries
as a command line.
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'install-gallium-links.mk')
-rw-r--r-- | install-gallium-links.mk | 6 |
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; \ |