summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-10-06 15:19:21 -0700
committerEric Anholt <[email protected]>2016-10-10 08:56:12 -0700
commitec9ed1c4d8f1005ea8b00fa673257564310d96a8 (patch)
tree4c63cc8e9c4646f66c08e20f453d8867bac76a77
parentec05331a7b0d6b6bb84fa6452fbba4bf5dc25f83 (diff)
gallium: Fix install-gallium-links.mk on non-bash /bin/sh
Debian uses dash by default, which doesn't do '+='. Fixes servo's osmesa-based headless testing system, which was looking for libOSMesa in the lib/ directory. Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Cc: [email protected]
-rw-r--r--install-gallium-links.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/install-gallium-links.mk b/install-gallium-links.mk
index ac5a499c48f..fc2f75db5e8 100644
--- a/install-gallium-links.mk
+++ b/install-gallium-links.mk
@@ -13,8 +13,8 @@ all-local : .install-gallium-links
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="$$file_list$(egl_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)"; \
+ file_list="$$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; \