[Mesa-dev] [PATCH] gallium: Fix install-gallium-links.mk on non-bash /bin/sh
Nicolai Hähnle
nhaehnle at gmail.com
Mon Oct 10 10:10:28 UTC 2016
On 07.10.2016 00:41, Eric Anholt wrote:
> 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.
Looks straightforward enough to me.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
> ---
> install-gallium-links.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/install-gallium-links.mk b/install-gallium-links.mk
> index ac5a499c48fb..fc2f75db5e83 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; \
>
More information about the mesa-dev
mailing list