sekrit-twc / zimg

Scaling, colorspace conversion, and dithering library
Do What The F*ck You Want To Public License
405 stars 77 forks source link

autotools: Fix exporting APIs with mingw toolchain #200

Closed Biswa96 closed 1 year ago

Biswa96 commented 1 year ago
This uses zimg.def file with -export-symbols, libtool's link mode flag.
Otherwise, gcc exports all the public and private functions in mingw
environment. But with clang in mingw, no symbols are exported.
sekrit-twc commented 1 year ago

Module file is only for VS.

Biswa96 commented 1 year ago

Module file is only for VS.

It is for Windows platform and can be used with gcc and clang also.

sekrit-twc commented 1 year ago

Use export-symbols-regex instead.