Fix zlib detection when there is no pkg-config file

2 jobs for libz-fallback in 3 minutes and 23 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Manifest
passed #46118
manifest

00:00:29

 
  Build
passed #46119
build fedora x86_64

00:02:54