From 5f74df7433d6ec5e84db6a117911f138b84beccc Mon Sep 17 00:00:00 2001 From: Nathan Graule Date: Thu, 16 Apr 2020 18:24:17 +0200 Subject: [PATCH] Add ADD_EXPORTS defines on library exports --- src/meson.build | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 8ed9c774ba..77d574bbbb 100644 --- a/src/meson.build +++ b/src/meson.build @@ -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)