File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ CCACHE ?= ccache
2525endif
2626
2727LIBDATACHANNEL_PATH ?= third_party/libdatachannel
28+ LIBDATACHANNEL_VERSION ?= $(LIBDATACHANNEL_PATH ) /v0.23.222529eb2c8ae44
2829
2930USE_HW_H264 ?= 1
3031USE_FFMPEG ?= $(shell pkg-config libavutil libavformat libavcodec && echo 1)
@@ -117,6 +118,10 @@ html/%.c: html/%
117118 xxd -i $< > $@ .tmp
118119 mv $@ .tmp $@
119120
120- $(LIBDATACHANNEL_PATH ) /build/libdatachannel-static.a : $(LIBDATACHANNEL_PATH )
121+ $(LIBDATACHANNEL_VERSION ) :
122+
123+ $(LIBDATACHANNEL_PATH ) /build/libdatachannel-static.a : $(LIBDATACHANNEL_PATH ) $(LIBDATACHANNEL_VERSION )
124+ git submodule update --init --recursive $(LIBDATACHANNEL_PATH )
121125 [ -e $< /build/Makefile ] || cmake -S $< -B $< /build
122126 $(MAKE ) -C $< /build datachannel-static
127+ touch $(LIBDATACHANNEL_VERSION ) $@
You can’t perform that action at this time.
0 commit comments