summaryrefslogtreecommitdiff
path: root/vcl/Library_vclplug_gen.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/Library_vclplug_gen.mk')
-rw-r--r--vcl/Library_vclplug_gen.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/Library_vclplug_gen.mk b/vcl/Library_vclplug_gen.mk
index c9c9bbe6468f..31df6c2d95c5 100644
--- a/vcl/Library_vclplug_gen.mk
+++ b/vcl/Library_vclplug_gen.mk
@@ -132,6 +132,13 @@ $(eval $(call gb_Library_add_defs,vclplug_gen,\
endif
endif
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
+ $(if $(VALGRIND_CFLAGS), \
+ $(VALGRIND_CFLAGS) \
+ -DHAVE_MEMCHECK_H=1 \
+ ) \
+))
+
## handle Xinerama
ifneq ($(USE_XINERAMA),NO)
ifneq ($(OS),SOLARIS)