mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-05-05 10:08:12 +02:00
parent
78ff353509
commit
b4ca23bed1
1 changed files with 2 additions and 1 deletions
|
|
@ -383,7 +383,8 @@ ftoption_h = custom_target('ftoption.h',
|
|||
ft2_sources += ftoption_h
|
||||
ft2_defines += ['-DFT_CONFIG_OPTIONS_H=<ftoption.h>']
|
||||
|
||||
if host_machine.system() == 'windows'
|
||||
if host_machine.system() == 'windows' and \
|
||||
get_option('default_library') == 'shared'
|
||||
ft2_defines += ['-DDLL_EXPORT=1']
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue