• Andreas Rheinhardt's avatar
    tests/dnn: Make DNN tests regular libavfilter tests · c26730ed
    Andreas Rheinhardt authored
    They test libavfilter internal API, so they should be libavfilter
    test programs (which implies: linked statically to libavfilter
    to access internal APIs and linked normally (statically or dynamically
    depending upon the build configuration) against all the other libs).
    
    Right now, they are always linked statically against all libs,
    which is a significant size waste compared to shared libs as all
    of libavcodec has been pulled in despite not being really used.
    This also leads to linking failures on systems for which av_export_avutil
    is intended: libavcodec does not expect to be linked statically
    against the library providing avpriv_(cga|vga16)_font in this case.
    This is fixed by this commit.
    Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
    c26730ed
dnn.mak 1.76 KB