diff options
author | Alexei Podtelezhnikov <apodtele@gmail.com> | 2018-07-24 23:01:34 -0400 |
---|---|---|
committer | Alexei Podtelezhnikov <apodtele@gmail.com> | 2018-07-24 23:01:34 -0400 |
commit | 4b97ab98a8e90ae5403058b73c345974247bf01e (patch) | |
tree | e09d4f4d5844bbae1f598cbe721d993e228bfaed /builds/windows/vc2010/index.html | |
parent | d8ea52dee53defec67cbea8f467f1ad1e971ba25 (diff) | |
download | freetype2-4b97ab98a8e90ae5403058b73c345974247bf01e.tar.gz |
[build] Fortify dllexport/dllimport attributes (#53969,#54330).
We no longer use predefined _DLL, which can be defined for static
builds too with /MD. We use DLL_EXPORT and DLL_IMPORT instead,
following libtool convention.
* CMakeLists.txt [WIN32], builds/windows/vc2010/freetype.vcxproj:
Define DLL_EXPORT manually.
* include/freetype/config/ftconfig.h, builds/unix/ftconfig.in,
builds/vms/ftconfig.h, builds/windows/vc2010/index.html,
src/base/ftver.rc: /_DLL/d, s/FT2_DLLIMPORT/DLL_IMPORT/.
Diffstat (limited to 'builds/windows/vc2010/index.html')
-rw-r--r-- | builds/windows/vc2010/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builds/windows/vc2010/index.html b/builds/windows/vc2010/index.html index c3e604034..634ea9305 100644 --- a/builds/windows/vc2010/index.html +++ b/builds/windows/vc2010/index.html @@ -33,7 +33,7 @@ simplifies automated (command-line) builds using <a href="http://msdn.microsoft.com/library/dd393574%28v=vs.100%29.aspx">msbuild</a>.</p> <p>To link your executable with FreeType DLL, you may want to define -FT2_DLLIMPORT so that the imported functions are appropriately +DLL_IMPORT so that the imported functions are appropriately attributed with <tt>dllimport<tt>.</p> </body> |