and pass -D_DLL in unix Makefile when compiling the shared lib and
everything will be fine

On Fri, Jan 12, 2018 at 10:36 PM, Vincent Torri <[email protected]> wrote:
> in ftconfig.h replace
>
> #ifdef _MSC_VER
>
> with
>
> #ifdef _WIN32
>
>
>
> On Fri, Jan 12, 2018 at 10:29 PM, Alexei Podtelezhnikov
> <[email protected]> wrote:
>>
>>> > FreeType do not have DLL support for those tools yet. Patches are
>>> > welcome.
>>>
>>> I've just tried freetype 2.9 with MSYS2 + mingw-w64 :
>>>
>>> ./configure --host=i686-w64-mingw32 --disable-static
>>> make -j7
>>>
>>> and I have my DLL
>>
>> You have proper symbols exported and import library created, without the
>> need for dllexport, I assume. Cool.

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to