From 67e6b5b9c62717fee33537f40a79d7483e5d2374 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Wed, 2 Jan 2019 14:53:36 -0500 Subject: [PATCH] Fix for dh_clideps failing with out-of-tree Mono (cherry picked from commit 4d50d8ee19b8cfc16c1e1a2aae38764eb249f65b) Former-commit-id: 5f6937f66c5db69d14b75ae3b59effcd1fc58360 --- debian/dh_clideps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/dh_clideps b/debian/dh_clideps index 33b343783c..652bd7414a 100755 --- a/debian/dh_clideps +++ b/debian/dh_clideps @@ -192,7 +192,7 @@ if (defined($dh{INTERNAL_MONO_FLAG}) || (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) { $clr = "mono"; $cli_parser = "$pwd/debian/tmp/usr/bin/mono $pwd/debian/tmp/usr/lib/mono/4.5/ikdasm.exe"; - $cli_parser_paths = "LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$pwd/debian/tmp/usr/lib/mono/4.5 MONO_GAC_PREFIX=$pwd/debian/tmp/usr/lib/mono/gac "; + $cli_parser_paths = "MONO_CONFIG=$pwd/debian/tmp/etc/mono/config LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$pwd/debian/tmp/usr/lib/mono/4.5 MONO_GAC_PREFIX=$pwd/debian/tmp/usr/lib/mono/gac "; $cli_version = `LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib $pwd/debian/tmp/usr/bin/mono --version 2>&1`; verbose_print("Will use built Mono (debian/tmp/usr/bin/ikdasm) for CIL parsing."); } elsif (-x "/usr/bin/ikdasm") {