Skip to content

Commit

Permalink
[depends/ffmpeg/ios] - fix compilation against ios 10 sdk and running…
Browse files Browse the repository at this point in the history
… on ios < version 10 - reference kewlbear/FFmpeg-iOS-build-script#83
  • Loading branch information
Memphiz committed Dec 23, 2016
1 parent 0646544 commit 34b08f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/depends/target/ffmpeg/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ $(PLATFORM): $(TARBALLS_LOCATION)/$(ARCHIVE) $(DEPS)
cd $(PLATFORM);\
CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
./configure $(ffmpg_config)
ifeq ($(OS), ios)
cd $(PLATFORM); sed -i -- 's/HAVE_CLOCK_GETTIME 1/HAVE_CLOCK_GETTIME 0/g' config.h
endif

build: $(PLATFORM)
$(MAKE) -C $(PLATFORM)
Expand Down

0 comments on commit 34b08f7

Please sign in to comment.