]> 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:02 +0000 (13:05 +0200)
Makefile

index 5a8f6cf40764ff6a0c1970642cc3c39062c4bcdd..007a35e772856d40d2e01f1722efbc33da7aab8f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -846,8 +846,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
 
@@ -861,8 +864,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: