hooks icon indicating copy to clipboard operation
hooks copied to clipboard

[conan-center-index] Dylib is not detected for static package

Open uilianries opened this issue 5 years ago • 5 comments

This error comes from https://github.com/conan-io/conan-center-index/issues/1035

Expat/2.2.9 is static :

Package_ID: 534dcc368c999e07e81f146b3466b8f656ef1f55
        [options]
            fPIC: True
            shared: False
        [settings]
            arch: x86_64
            build_type: Release
            compiler: apple-clang
            compiler.version: 10.0
            os: Macos
        Outdated from recipe: False

However, the build log shows .dylib : https://c3i.jfrog.io/c3i/misc/logs/pr/603/1/expat/2.2.9/534dcc368c999e07e81f146b3466b8f656ef1f55/

uilianries avatar Mar 05 '20 14:03 uilianries

Hooks shouldn't prevent a library to have .dll/.dylib/.so in the package folder if static. Instead, check for existence of at least one .a/.lib

SpaceIm avatar Mar 05 '20 15:03 SpaceIm

Why not ?

uilianries avatar Mar 06 '20 12:03 uilianries

PhysX for example:

  • if static, there are anyway one or two shared libs.
  • if shared, there are anyway four static libs.

SpaceIm avatar Mar 06 '20 12:03 SpaceIm

PhysX is an edge-case. In a normal case, in a static library package, you have only static libraries.

uilianries avatar Mar 06 '20 19:03 uilianries

.framework probably as well

SSE4 avatar Mar 13 '20 17:03 SSE4