On 9/2/21 12:08 PM, Florian Weimer wrote:
> * Zebediah Figura:
>
> > (2) If we use dynamic libraries, should dependencies be included in
> > the main wine package, or packaged separately?
>
> Aren't many of them already packages separately? For example
> mingw32-libpng and mingw32-gnutls?
Thanks, I wasn't aware of these. I had tried to search for Fedora mingw
packages, but didn't realize that looking up "mingw" on
rpmfind.net
wasn't
enough :-/
Note that this ties into (3) though. It would presumably be enough for
static libraries, but we need specially named shared libraries, and we can't
"just" use these packages since as far as I'm aware there's no
standardized
way to find them.
Why does wine need to use special names ?
In terms of locating them, you can find them using pkg-config eg
$ i686-w64-mingw32-pkg-config --variable prefix zlib
/usr/i686-w64-mingw32/sys-root/mingw
tells you the install prefix under which it lives, and you'll find
the dll in the bin/ sub-directory
/usr/i686-w64-mingw32/sys-root/mingw/bin/zlib1.dll
or the import lib at
/usr/i686-w64-mingw32/sys-root/mingw/lib/libz.dll.a
Regards,
Daniel
--
|: