gallium: Fix install-gallium-links.mk on non-bash /bin/sh
authorEric Anholt <eric@anholt.net>
Thu, 6 Oct 2016 22:19:21 +0000 (15:19 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 10 Oct 2016 15:56:12 +0000 (08:56 -0700)
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 <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
install-gallium-links.mk

index ac5a499c48fbdbe590e5e6cd863cdbb65d31623d..fc2f75db5e837b76892a46fe840c94b8cf464986 100644 (file)
@@ -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;                   \