libimobiledevice / libplist

A library to handle Apple Property List format in binary or XML
https://libimobiledevice.org
GNU Lesser General Public License v2.1
537 stars 304 forks source link

fix MinGW compilation #226

Closed neheb closed 1 year ago

neheb commented 1 year ago

dllexport needs to be done in headers.

Also fix static compilation with MinGW. dllexport cannot be used there.

Original patch: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libplist/004-exports.patch

nikias commented 1 year ago

Should be solved with 91c0aa8fa82d3fb42c64b0e46bfa861cada5e47d.