Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
b4ca23be
by Marian Klymov at 2024-10-12T10:57:59+00:00
1 changed file:
Changes:
... | ... | @@ -383,7 +383,8 @@ ftoption_h = custom_target('ftoption.h', |
383 | 383 | ft2_sources += ftoption_h
|
384 | 384 | ft2_defines += ['-DFT_CONFIG_OPTIONS_H=<ftoption.h>']
|
385 | 385 | |
386 | -if host_machine.system() == 'windows'
|
|
386 | +if host_machine.system() == 'windows' and \
|
|
387 | + get_option('default_library') == 'shared'
|
|
387 | 388 | ft2_defines += ['-DDLL_EXPORT=1']
|
388 | 389 | endif
|
389 | 390 |