[conan-center-index] Dylib is not detected for static package
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/
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
Why not ?
PhysX for example:
- if static, there are anyway one or two shared libs.
- if shared, there are anyway four static libs.
PhysX is an edge-case. In a normal case, in a static library package, you have only static libraries.
.framework probably as well