diff options
Diffstat (limited to 'mesalib/install-lib-links.mk')
-rw-r--r-- | mesalib/install-lib-links.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/install-lib-links.mk b/mesalib/install-lib-links.mk index 09fb86a0b..5ea738537 100644 --- a/mesalib/install-lib-links.mk +++ b/mesalib/install-lib-links.mk @@ -7,7 +7,7 @@ all-local : .libs/install-mesa-links .libs/install-mesa-links : $(lib_LTLIBRARIES) $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \ - for f in $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*); do \ + for f in $(join $(addsuffix .libs/,$(dir $(lib_LTLIBRARIES))),$(notdir $(lib_LTLIBRARIES:%.la=%.$(LIB_EXT)*))); do \ if test -h .libs/$$f; then \ cp -d $$f $(top_builddir)/$(LIB_DIR); \ else \ |