diff options
author | Jay Berkenbilt <ejb@ql.org> | 2017-08-22 16:51:21 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2017-08-22 20:13:10 +0200 |
commit | 83ec09f66c4548d356423894708e6727aaa39c88 (patch) | |
tree | 6eeda68288a72a8a1d90a908d5a624e55e3c43fc /make/libtool.mk | |
parent | 85ef2cb6fd3d3e9dbeee013eceeb19b9f3c7f731 (diff) | |
download | qpdf-83ec09f66c4548d356423894708e6727aaa39c88.tar.zst |
Do memory checks
Slightly improve memory cleanup in Pl_DCT
Make it easier to test with valgrind
Diffstat (limited to 'make/libtool.mk')
-rw-r--r-- | make/libtool.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make/libtool.mk b/make/libtool.mk index c6cf4e4d..c3af7b9f 100644 --- a/make/libtool.mk +++ b/make/libtool.mk @@ -102,6 +102,7 @@ endef # Usage: $(call makebin,objs,binary,ldflags,libs) define makebin $(LIBTOOL) --mode=link $(CXX) $(CXXFLAGS) $(1) -o $(2) $(4) $(3) + if [ "$(VALGRIND)" = 1 ]; then make/valgrind-wrap $(2); fi endef # Install target |