> Am 22.06.2020 um 14:26 schrieb Joel Linn <j...@conductive.de>: > > I want to use components statically. There is a number of places where > functions are called conditionally based on config defines, for example in > libavutil/cpu.c get_cpu_flags(): > > if (ARCH_PPC) > return ff_get_cpu_flags_ppc(); > > I can't use the makefiles so needed to
(You mean you don’t want to use them) > "translate" them into our build system for the parts I need. > However I get unresolved symbols. What am I missing? I'm pretty sure the > makefiles don't build the objects that define those unused functions either. You need to enable „dead code elimination“, FFmpeg cannot be compiled without it, most supported compilers do not allow to disable it. Carl Eugen > > Thanks in advance, > Joel > _______________________________________________ > Libav-user mailing list > Libav-user@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/libav-user > > To unsubscribe, visit link above, or email > libav-user-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with subject "unsubscribe".