[vlc-devel] [PATCH 1/7] contrib: use PREFIX instead of TOPDST+HOST

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 5 14:31:01 CET 2019


---
 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 b4610bbc02..32a489331f 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -444,12 +444,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
 
-- 
2.17.1



More information about the vlc-devel mailing list