[HarfBuzz] dll build
Jonathan Kew
jfkthame at googlemail.com
Tue Oct 1 11:51:33 PDT 2013
On 1/10/13 19:26, Behdad Esfahbod wrote:
> On 13-10-01 08:03 AM, Eduardo Castineyra wrote:
>> Hi,
>>
>> When I build hb as a dll, it does not export any symbol. I had to the project
>> to add a .def file I stole from the hb-shape win32 compiled example. But I
>> don't know what the proper way to get the symbols to be exported is.
>
> *Someone* needs to create the .def file. I don't know how people do it on
> Windows, but the autotools-based build system knows how to build it, so
> lifting it from the win32 bundle is indeed the easiest way I guess.
AIUI, an alternative would be to annotate the public symbols in the
source with something like HB_PUBLIC_API, which would be #defined to be
"__declspec(dllexport)" when building a DLL on Windows.
>
>> These are the options I used to compile HB:
>>
>> WIN32;_DEBUG;_WINDOWS;_USRDLL;HARFBUZZ_EXPORTS;HAVE_OT;HAVE_UCDN
>>
>> Regards!
>> _______________________________________________
>> HarfBuzz mailing list
>> HarfBuzz at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/harfbuzz
>>
>
More information about the HarfBuzz
mailing list