freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * meson.build: Define DLL_EXPORT for sh


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * meson.build: Define DLL_EXPORT for shared library only.
Date: Sat, 12 Oct 2024 10:58:04 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • b4ca23be
    by Marian Klymov at 2024-10-12T10:57:59+00:00
    * meson.build: Define DLL_EXPORT for shared library only.
    
    Fixes #1298.
    

1 changed file:

Changes:

  • meson.build
    ... ... @@ -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
     
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]