Skip to content

Commit

Permalink
Add ADD_EXPORTS defines on library exports
Browse files Browse the repository at this point in the history
  • Loading branch information
SolarLiner committed May 2, 2020
1 parent a1b75e6 commit a8851fa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ src_c = files(

subdir('memory')

sass_lib = library('sass', src_cpp, src_c, src_res, include_directories: sass_inc, dependencies: deps, install: true)
sass_lib = library('sass', src_cpp, src_c, src_res,
include_directories: sass_inc,
dependencies: deps,
c_args: ['-DADD_EXPORTS'],
cpp_args: ['-DADD_EXPORTS'],
install: true
)

sass_dep = declare_dependency(link_with: sass_lib, include_directories: sass_inc)

Expand Down

0 comments on commit a8851fa

Please sign in to comment.