Commit 5c1aac17 authored by Lucas Stach's avatar Lucas Stach Committed by Matt Turner

install-lib-links: don't depend on .libs directory

This snippet can be included in Makefiles that may, depending on the
project configuration, not actually build any installable libraries.

In that case we don't have anything to depend on and this part of
the makefile may be executed before the .libs directory is created,
so do not depend on it being there.

Cc: "10.3 10.4 10.5" <>
Reviewed-by: Matt Turner's avatarMatt Turner <>
Signed-off-by: Lucas Stach's avatarLucas Stach <>
parent 6c34fd20
......@@ -3,9 +3,9 @@
all-local : .libs/install-mesa-links
all-local : .install-mesa-links
.libs/install-mesa-links : $(lib_LTLIBRARIES)
.install-mesa-links : $(lib_LTLIBRARIES)
$(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \
for f in $(join $(addsuffix .libs/,$(dir $(lib_LTLIBRARIES))),$(notdir $($(LIB_EXT)*))); do \
if test -h .libs/$$f; then \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment