]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Makefile: another fix for the static build
authorJaroslav Kysela <perex@perex.cz>
Wed, 3 Oct 2018 11:05:02 +0000 (13:05 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 3 Oct 2018 11:05:21 +0000 (13:05 +0200)
Makefile

index 3774b7a396e975c3155f840ffdff90cb789d33a3..6d580cd458cb7616cfb84dbaf708ec8f1ef9bc24 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -779,8 +779,11 @@ ${BUILDDIR}/libffmpeg_stamp: ${BUILDDIR}/ffmpeg/build/ffmpeg/lib/libavcodec.a
 ${BUILDDIR}/ffmpeg/build/ffmpeg/lib/libavcodec.a: Makefile.ffmpeg
 ifeq ($(CONFIG_PCLOUD_CACHE),yes)
        $(MAKE) -f Makefile.ffmpeg libcacheget
-endif
        $(MAKE) -f Makefile.ffmpeg build
+       $(MAKE) -f Makefile.ffmpeg libcacheput
+else
+       $(MAKE) -f Makefile.ffmpeg build
+endif
 
 # Static HDHOMERUN library
 
@@ -794,8 +797,11 @@ ${BUILDDIR}/libhdhomerun_stamp: ${BUILDDIR}/hdhomerun/libhdhomerun/libhdhomerun.
 ${BUILDDIR}/hdhomerun/libhdhomerun/libhdhomerun.a: Makefile.hdhomerun
 ifeq ($(CONFIG_PCLOUD_CACHE),yes)
        $(MAKE) -f Makefile.hdhomerun libcacheget
-endif
        $(MAKE) -f Makefile.hdhomerun build
+       $(MAKE) -f Makefile.hdhomerun libcacheput
+else
+       $(MAKE) -f Makefile.hdhomerun build
+endif
 
 .PHONY: ffmpeg_rebuild
 ffmpeg_rebuild: