[vlc-devel] [PATCH v2 04/13] contrib: add a way to build native tools from contribs

Steve Lhomme robux4 at ycbcr.xyz
Tue Mar 24 15:46:22 CET 2020


Add a tool to be built natively in PKGS_PROGS.

Native tools are built automatically when using "make prebuilt" as they are not
part of the prebuilt package and needed for the local platform.
---
 contrib/src/main.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 7105dc508a..2d00e629bb 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -498,7 +498,7 @@ PREBUILT_URL=http://download.videolan.org/pub/videolan/contrib/$(HOST)/vlc-contr
 vlc-contrib-$(HOST)-latest.tar.bz2:
 	$(call download,$(PREBUILT_URL))
 
-prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2
+prebuilt: vlc-contrib-$(HOST)-latest.tar.bz2 $(PKGS_PROGS:%=.%)
 	$(RM) -r $(PREFIX)
 	-$(UNPACK)
 	mv $(HOST) $(PREFIX)
-- 
2.17.1



More information about the vlc-devel mailing list