espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
136 stars 85 forks source link

fix(thorvg): build static library without -fPIC #339

Closed suda-morris closed 1 month ago

suda-morris commented 1 month ago

ESP-IDF only use static library, and the thorvg library won't be linked into a dynamic library.

This PR also enables the multi-threading feature in thorvg.

Summary:
    ThorVG version:             0.13.6
    Build Type:                 debugoptimized
    Prefix:                     /usr/local
    Multi-Tasking:              true                        <------------- Enabled in this PR
    SIMD Instruction:           none
    Raster Engine (SW):         true
    Raster Engine (GL_BETA):    false
    Raster Engine (WG_BETA):    false
    Loader (TVG):               true
    Loader (SVG):               true
    Loader (TTF):               false
    Loader (LOTTIE):            true
    Loader (PNG):               false
    Loader (JPG):               false
    Loader (WEBP):              false
    Saver (TVG):                false
    Saver (GIF):                false
    Binding (CAPI):             true
    Binding (WASM_BETA):        false
    Log Message:                false
    Tests:                      false
    Examples:                   false
    Tool (Svg2Tvg):             false
    Tool (Svg2Png):             false
    Tool (Lottie2Gif):          false
    Extra (Lottie Expressions): true