[vlc-commits] contrib: use PREFIX instead of TOPDST+HOST

Steve Lhomme git at videolan.org
Thu Jun 18 18:31:42 CEST 2020


vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Mar  5 09:37:00 2019 +0100| [6a61c49f399661303106c82e60dba363c0f64e55] | committer: Steve Lhomme

contrib: use PREFIX instead of TOPDST+HOST

(cherry picked from commit 030c52254b4a99b2342e2046d01c7cab6fd664a8)
Signed-off-by: Steve Lhomme <robux4 at ycbcr.xyz>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=6a61c49f399661303106c82e60dba363c0f64e55
---

 contrib/src/main.mak | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 1d21f394ee..23486e953b 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -464,12 +464,12 @@ vlc-contrib-$(HOST)-latest.tar.bz2:
 
 prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
 	-$(UNPACK)
-	$(RM) -r $(TOPDST)/$(HOST)
+	$(RM) -r $(PREFIX)
 	mv $(HOST) $(TOPDST)
-	cd $(TOPDST)/$(HOST) && $(SRC)/change_prefix.sh
+	cd $(PREFIX) && $(SRC)/change_prefix.sh
 ifdef HAVE_WIN32
 ifndef HAVE_CROSS_COMPILE
-	$(RM) `find $(TOPDST)/$(HOST)/bin | file -f- | grep ELF | awk -F: '{print $$1}' | xargs`
+	$(RM) `find $(PREFIX)/bin | file -f- | grep ELF | awk -F: '{print $$1}' | xargs`
 endif
 endif
 



More information about the vlc-commits mailing list