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 Apr 16, 2020
1 parent 3a8e185 commit 5f74df7
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 5f74df7

Please sign in to comment.