Browse files

[osx/ios/atv2] - build and link static libs for ffmpeg because of bui…

…ld issues on ios
  • Loading branch information...
1 parent 525834b commit 32016958723f5d58d7bfb36e18dd6c4b9307d4fd @Memphiz Memphiz committed with elupus Mar 26, 2012
View
32 XBMC-ATV2.xcodeproj/project.pbxproj
@@ -7134,6 +7134,14 @@
"\"$(SRCROOT)/lib/SlingboxLib\"",
"\"$(SRCROOT)/xbmc/interfaces/json-rpc\"",
"\"$(SRCROOT)/xbmc/interfaces/http-api\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
OTHER_LDFLAGS = (
"-Wl,-headerpad_max_install_names",
@@ -7157,6 +7165,14 @@
"-lyajl",
"-ljpeg",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-lcrypto",
"-L$XBMC_DEPENDS/lib/mysql",
"-lmysqlclient",
@@ -7231,6 +7247,14 @@
"\"$(SRCROOT)/lib/SlingboxLib\"",
"\"$(SRCROOT)/xbmc/interfaces/json-rpc\"",
"\"$(SRCROOT)/xbmc/interfaces/http-api\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
OTHER_LDFLAGS = (
"-Wl,-headerpad_max_install_names",
@@ -7255,6 +7279,14 @@
"-ljpeg",
"-lgcrypt",
"-lcrypto",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-L$XBMC_DEPENDS/lib/mysql",
"-lmysqlclient",
);
View
32 XBMC-IOS.xcodeproj/project.pbxproj
@@ -7146,6 +7146,14 @@
"\"$(SRCROOT)/lib/SlingboxLib\"",
"\"$(SRCROOT)/xbmc/interfaces/http-api\"",
"\"$(SRCROOT)/xbmc/interfaces/json-rpc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
OTHER_LDFLAGS = (
"-Wl,-headerpad_max_install_names",
@@ -7168,6 +7176,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-L$XBMC_DEPENDS/lib/mysql",
"-lmysqlclient",
);
@@ -7242,6 +7258,14 @@
"\"$(SRCROOT)/lib/SlingboxLib\"",
"\"$(SRCROOT)/xbmc/interfaces/http-api\"",
"\"$(SRCROOT)/xbmc/interfaces/json-rpc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
OTHER_LDFLAGS = (
"-Wl,-headerpad_max_install_names",
@@ -7264,6 +7288,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-L$XBMC_DEPENDS/lib/mysql",
"-lmysqlclient",
);
View
64 XBMC.xcodeproj/project.pbxproj
@@ -9202,6 +9202,14 @@
"$(SRCROOT)/lib/SlingboxLib",
"$(SRCROOT)/xbmc/interfaces/http-api",
"$(SRCROOT)/xbmc/interfaces/json-rpc",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
LINK_WITH_STANDARD_LIBRARIES = YES;
OTHER_LDFLAGS = (
@@ -9223,6 +9231,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-lGLEW",
"-lSDL",
"-lSDL_mixer",
@@ -9300,6 +9316,14 @@
"$(SRCROOT)/lib/SlingboxLib",
"$(SRCROOT)/xbmc/interfaces/http-api",
"$(SRCROOT)/xbmc/interfaces/json-rpc",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
LINK_WITH_STANDARD_LIBRARIES = YES;
OTHER_LDFLAGS = (
@@ -9321,6 +9345,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-lGLEW",
"-lSDL",
"-lSDL_mixer",
@@ -9460,6 +9492,14 @@
"$(SRCROOT)/xbmc/interfaces/json-rpc",
"$(SRCROOT)/lib/SlingboxLib",
"\"$(SRCROOT)/lib/shairport\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
LINK_WITH_STANDARD_LIBRARIES = YES;
OTHER_LDFLAGS = (
@@ -9481,6 +9521,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-lGLEW",
"-lSDL",
"-lSDL_mixer",
@@ -9561,6 +9609,14 @@
"$(SRCROOT)/xbmc/interfaces/json-rpc",
"$(SRCROOT)/lib/SlingboxLib",
"\"$(SRCROOT)/lib/shairport\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavcodec\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavutil\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavformat\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavfilter\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libavdevice\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswresample\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libpostproc\"",
+ "\"$(SRCROOT)/lib/ffmpeg/libswscale\"",
);
LINK_WITH_STANDARD_LIBRARIES = YES;
OTHER_LDFLAGS = (
@@ -9582,6 +9638,14 @@
"-ljpeg",
"-lcrypto",
"-lgcrypt",
+ "-lavdevice",
+ "-lavfilter",
+ "-lavcodec",
+ "-lavformat",
+ "-lpostproc",
+ "-lavutil",
+ "-lswresample",
+ "-lswscale",
"-lGLEW",
"-lSDL",
"-lSDL_mixer",
View
4 configure.in
@@ -2023,7 +2023,7 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
--disable-amd3dnow \
--disable-armv5te \
--disable-armv6t2 \
- --disable-static \
+ --enable-static \
`if test "$use_debug" = "no"; then echo --disable-debug; fi` \
--disable-muxers \
--enable-muxer=spdif \
@@ -2037,14 +2037,14 @@ XB_CONFIG_MODULE([lib/ffmpeg], [
--disable-ffplay \
--disable-ffserver \
--disable-ffmpeg \
- --enable-shared \
--disable-doc \
--disable-decoder=mpeg_xvmc \
--enable-postproc \
--enable-gpl \
--enable-protocol=http \
--enable-pthreads \
--enable-runtime-cpudetect \
+ --disable-openmp \
--cc="$CC" &&
sed -ie "s#YASM=yasm#YASM=${prefix}/bin/yasm#" config.mak &&
sed -ie "s#YASMDEP=yasm#YASMDEP=${prefix}/bin/yasm#" config.mak &&
View
2 lib/DllAvCodec.h
@@ -128,7 +128,7 @@ class DllAvCodecInterface
virtual int64_t avcodec_guess_channel_layout(int nb_channels, enum CodecID codec_id, const char *fmt_name)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// Use direct layer
class DllAvCodec : public DllDynamic, DllAvCodecInterface
View
2 lib/DllAvFilter.h
@@ -84,7 +84,7 @@ class DllAvFilterInterface
virtual int av_buffersink_poll_frame(AVFilterContext *ctx)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// Use direct mapping
class DllAvFilter : public DllDynamic, DllAvFilterInterface
{
View
4 lib/DllAvFormat.h
@@ -69,7 +69,7 @@ class DllAvFormatInterface
virtual int av_read_play(AVFormatContext *s)=0;
virtual int av_read_pause(AVFormatContext *s)=0;
virtual int av_seek_frame(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)=0;
-#if (!defined USE_EXTERNAL_FFMPEG)
+#if (!defined USE_EXTERNAL_FFMPEG) && (!defined TARGET_DARWIN)
virtual int avformat_find_stream_info_dont_call(AVFormatContext *ic, AVDictionary **options)=0;
#endif
virtual int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputFormat *fmt, AVDictionary **options)=0;
@@ -100,7 +100,7 @@ class DllAvFormatInterface
virtual int av_write_frame (AVFormatContext *s, AVPacket *pkt)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// Use direct mapping
class DllAvFormat : public DllDynamic, DllAvFormatInterface
View
3 lib/DllAvUtil.h
@@ -104,8 +104,7 @@ class DllAvUtilInterface
virtual int av_samples_get_buffer_size (int *linesize, int nb_channels, int nb_samples, enum AVSampleFormat sample_fmt, int align) = 0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
-
+#if defined (USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// Use direct layer
class DllAvUtilBase : public DllDynamic, DllAvUtilInterface
{
View
2 lib/DllPostProc.h
@@ -87,7 +87,7 @@ class DllPostProcInterface
virtual void pp_free_context(pp_context *ppContext)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// We call directly.
class DllPostProc : public DllDynamic, DllPostProcInterface
View
2 lib/DllSwResample.h
@@ -43,7 +43,7 @@ extern "C" {
}
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// Use direct mapping
class DllSwResample : public DllDynamic
View
2 lib/DllSwScale.h
@@ -92,7 +92,7 @@ class DllSwScaleInterface
virtual void sws_freeContext(struct SwsContext *context)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN)
// We call into this library directly.
class DllSwScale : public DllDynamic, public DllSwScaleInterface
View
105 lib/Makefile.in
@@ -1,21 +1,10 @@
ARCH=@ARCH@
+AR=@AR@
LD=@LD@
CC=@CC@
CXX=@CXX@
-SHELL=@SHELL@
-ifeq ($(findstring osx,$(ARCH)),osx)
-ifeq ($(findstring arm,$(ARCH)),arm)
-LDFLAGS=-arch armv7 -iphoneos_version_min 4.1 -bundle -undefined dynamic_lookup -read_only_relocs suppress
-else
-LDFLAGS=-bundle -undefined dynamic_lookup -read_only_relocs suppress
-endif
-else
-LDFLAGS=-shared -fPIC -rdynamic
-endif
SYSDIR=@abs_top_srcdir@/system/players/dvdplayer
-WRAPPER=@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper.o
-WRAPPER_MACH_ALIAS=@abs_top_srcdir@/xbmc/cores/DllLoader/exports/wrapper_mach_alias
AVFORMAT_SO=avformat-53-$(ARCH).so
AVCODEC_SO=avcodec-53-$(ARCH).so
@@ -41,102 +30,31 @@ ifneq (@USE_EXTERNAL_FFMPEG@,1)
$(SWRESAMPLE_SO)
endif
-ifneq (,$(findstring powerpc,$(ARCH)))
- ARCH_DIR=ppc
-else
-ifeq ($(findstring arm,$(ARCH)),arm)
- ARCH_DIR=arm
-else
- ARCH_DIR=x86
-endif
-endif
-
.PHONY: $(DIRS) codecs
-codecs: $(addprefix $(SYSDIR)/, $(LIBS));
-
-
-ifeq ($(findstring osx,$(ARCH)), osx)
-# Add -lbundle1.o for powerpc-osx
-ifeq ($(ARCH), powerpc-osx)
-BUNDLE1_O = -lbundle1.o
-endif
-
-$(SYSDIR)/$(AVUTIL_SO): $(WRAPPER) ffmpeg/libavutil/libavutil.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libavutil/*.o \
- ffmpeg/libavutil/$(ARCH_DIR)/*.o $(BUNDLE1_O)
-
-$(SYSDIR)/$(AVCODEC_SO): $(WRAPPER) ffmpeg/libavcodec/libavcodec.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libavcodec/*.o \
- ffmpeg/libavcodec/$(ARCH_DIR)/*.o $(BUNDLE1_O)
-
-$(SYSDIR)/$(AVFORMAT_SO): $(WRAPPER) ffmpeg/libavformat/libavformat.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libavformat/*.o $(BUNDLE1_O)
-
-ifeq ($(findstring x86,$(ARCH_DIR)), x86)
-$(SYSDIR)/$(AVFILTER_SO): $(WRAPPER) ffmpeg/libavfilter/libavfilter.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libavfilter/$(ARCH_DIR)/*.o \
- ffmpeg/libavfilter/*.o $(BUNDLE1_O)
-else # No libavfilter/ppc or libavfilter/arm
-$(SYSDIR)/$(AVFILTER_SO): $(WRAPPER) ffmpeg/libavfilter/libavfilter.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libavfilter/*.o $(BUNDLE1_O)
-endif
-
-ifneq ($(findstring arm,$(ARCH)), arm)
-$(SYSDIR)/$(SWSCALE_SO): $(WRAPPER) ffmpeg/libswscale/libswscale.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libswscale/*.o \
- ffmpeg/libswscale/$(ARCH_DIR)/*.o $(BUNDLE1_O)
-else # No ARM version of swscale available yet.
-$(SYSDIR)/$(SWSCALE_SO): $(WRAPPER) ffmpeg/libswscale/libswscale.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libswscale/*.o
-endif
-
-$(SYSDIR)/$(POSTPROC_SO): $(WRAPPER) ffmpeg/libpostproc/libpostproc.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libpostproc/*.o $(BUNDLE1_O)
-
-$(SYSDIR)/$(SWRESAMPLE_SO): $(WRAPPER) ffmpeg/libswresample/libswresample.dylib
- $(LD) $(LDFLAGS) -alias_list $(WRAPPER_MACH_ALIAS) -o $@ \
- $(WRAPPER) ffmpeg/libswresample/*.o $(BUNDLE1_O)
-
-ffmpeg/libavutil/libavutil.dylib : ffmpeg;
-ffmpeg/libavcodec/libavcodec.dylib : ffmpeg;
-ffmpeg/libavformat/libavformat.dylib : ffmpeg;
-ffmpeg/libavformat/libavfilter.dylib : ffmpeg;
-ffmpeg/libswscale/libswscale.dylib : ffmpeg;
-ffmpeg/libpostproc/libpostproc.dylib : ffmpeg;
-ffmpeg/libswresample/libswresample.dylib : ffmpeg;
-ffmpeg:
- $(MAKE) -C $@
+ifneq ($(findstring osx,$(ARCH)), osx)
-else
+codecs: $(addprefix $(SYSDIR)/, $(LIBS));
$(SYSDIR)/$(AVUTIL_SO): ffmpeg/libavutil/libavutil.so
cp ffmpeg/libavutil/libavutil.so $@
-$(SYSDIR)/$(AVCODEC_SO): $(WRAPPER) ffmpeg/libavcodec/libavcodec.so
+$(SYSDIR)/$(AVCODEC_SO): ffmpeg/libavcodec/libavcodec.so
cp ffmpeg/libavcodec/libavcodec.so $@
-$(SYSDIR)/$(AVFORMAT_SO): $(WRAPPER) ffmpeg/libavformat/libavformat.so
+$(SYSDIR)/$(AVFORMAT_SO): ffmpeg/libavformat/libavformat.so
cp ffmpeg/libavformat/libavformat.so $@
-$(SYSDIR)/$(AVFILTER_SO): $(WRAPPER) ffmpeg/libavfilter/libavfilter.so
+$(SYSDIR)/$(AVFILTER_SO): ffmpeg/libavfilter/libavfilter.so
cp ffmpeg/libavfilter/libavfilter.so $@
-$(SYSDIR)/$(SWSCALE_SO): $(WRAPPER) ffmpeg/libswscale/libswscale.so
+$(SYSDIR)/$(SWSCALE_SO): ffmpeg/libswscale/libswscale.so
cp ffmpeg/libswscale/libswscale.so $@
-$(SYSDIR)/$(POSTPROC_SO): $(WRAPPER) ffmpeg/libpostproc/libpostproc.so
+$(SYSDIR)/$(POSTPROC_SO): ffmpeg/libpostproc/libpostproc.so
cp ffmpeg/libpostproc/libpostproc.so $@
-$(SYSDIR)/$(SWRESAMPLE_SO): $(WRAPPER) ffmpeg/libswresample/libswresample.so
+$(SYSDIR)/$(SWRESAMPLE_SO): ffmpeg/libswresample/libswresample.so
cp ffmpeg/libswresample/libswresample.so $@
ffmpeg/libavutil/libavutil.so : ffmpeg;
@@ -146,9 +64,12 @@ ffmpeg/libavfilter/libavfilter.so : ffmpeg;
ffmpeg/libswscale/libswscale.so : ffmpeg;
ffmpeg/libpostproc/libpostproc.so : ffmpeg;
ffmpeg/libswresample/libswresample.so : ffmpeg;
+endif
+
ffmpeg:
$(MAKE) -C $@
-
+ifeq ($(findstring osx,$(ARCH)), osx)
+ $(AR) d ffmpeg/libavcodec/libavcodec.a inverse.o
endif
clean:

0 comments on commit 3201695

Please sign in to comment.