Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan McGovern <alan.mcgovern@gmail.com>2017-05-04 16:38:19 +0300
committerAlan McGovern <alan.mcgovern@gmail.com>2017-05-04 16:38:19 +0300
commitabfc21e47acce2e808072a439b7802856227c436 (patch)
treec661f4b3f898d4175bdded3d36c9fb4a70f15e06 /main/Makefile.am
parent00879ff951ae13b21ed550e87494e09fe4f78e42 (diff)
[build] Tell people how to get the leak checker if it's missing
Diffstat (limited to 'main/Makefile.am')
-rw-r--r--main/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/main/Makefile.am b/main/Makefile.am
index 766272b14e..26f87bad8a 100644
--- a/main/Makefile.am
+++ b/main/Makefile.am
@@ -130,7 +130,13 @@ run-bundle: $(PROGRAM)
LANG= LC_ALL= $(MD_LAUNCH_SETUP) $(MD_LAUNCH_EXTRA_ENV) $(MD_BIN_PATH)/MonoDevelop --no-redirect
run-leaks: $(PROGRAM)
- DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=`pwd`/build/bin/libgobject-tracker.dylib LANG= LC_ALL= $(MD_LAUNCH_SETUP) $(MD_LAUNCH_EXTRA_ENV) $(MD_BIN_PATH)/MonoDevelop --no-redirect
+ @if [ -a `pwd`/build/bin/libgobject-tracker.dylib ]; then \
+ DYLD_FORCE_FLAT_NAMESPACE=1 DYLD_INSERT_LIBRARIES=`pwd`/build/bin/libgobject-tracker.dylib LANG= LC_ALL= $(MD_LAUNCH_SETUP) $(MD_LAUNCH_EXTRA_ENV) $(MD_BIN_PATH)/MonoDevelop --no-redirect; \
+ else \
+ echo '\033[0;31m' \
+ && echo "You need to compile and install libgobject-tracker.dylib from https://github.com/alanmcgovern/gobject-tracker to run gobject leak checking" \
+ && echo '\033[0m'; \
+ fi
run-64: run-sgen-64