diff options
author | Cyrille Faucheux <cyrille.faucheux@gmail.com> | 2013-02-12 17:23:31 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-02-15 08:39:35 +0100 |
commit | 75758f84def252a228a80a2e08d0c9ed7fce8df4 (patch) | |
tree | d0fead8e85096c99d36a91a1c9ee16d8b7270b6e | |
parent | 4a6fa7963bd2a2b2e6150d8247a48ab879e06a9d (diff) | |
download | ffmpeg-75758f84def252a228a80a2e08d0c9ed7fce8df4.tar.gz |
build: fixes a "can't cd to..." issue when installing shared libraries.
The problem is reproducible with a relative prefix path.
-rw-r--r-- | library.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library.mak b/library.mak index 9e931f3c1f..e849cc2268 100644 --- a/library.mak +++ b/library.mak @@ -72,7 +72,7 @@ install-lib$(NAME)-shared: $(SUBDIR)$(SLIBNAME) $(Q)mkdir -p "$(SHLIBDIR)" $$(INSTALL) -m 755 $$< "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" $$(STRIP) "$(SHLIBDIR)/$(SLIB_INSTALL_NAME)" - $(Q)$(foreach F,$(SLIB_INSTALL_LINKS),cd "$(SHLIBDIR)" && $(LN_S) $(SLIB_INSTALL_NAME) $(F);) + $(Q)$(foreach F,$(SLIB_INSTALL_LINKS),(cd "$(SHLIBDIR)" && $(LN_S) $(SLIB_INSTALL_NAME) $(F));) $(if $(SLIB_INSTALL_EXTRA_SHLIB),$$(INSTALL) -m 644 $(SLIB_INSTALL_EXTRA_SHLIB:%=$(SUBDIR)%) "$(SHLIBDIR)") $(if $(SLIB_INSTALL_EXTRA_LIB),$(Q)mkdir -p "$(LIBDIR)") $(if $(SLIB_INSTALL_EXTRA_LIB),$$(INSTALL) -m 644 $(SLIB_INSTALL_EXTRA_LIB:%=$(SUBDIR)%) "$(LIBDIR)") |