diff --git a/debian/dh_clideps b/debian/dh_clideps index 272c79a2eb..eeff89b57d 100755 --- a/debian/dh_clideps +++ b/debian/dh_clideps @@ -191,7 +191,7 @@ if ($dh{L_PARAMS}) { if (defined($dh{INTERNAL_MONO_FLAG}) || (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) { $clr = "mono"; - $cli_parser = "$pwd/debian/tmp/usr/bin/ikdasm"; + $cli_parser = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/4.5/ikdasm.exe"; $cli_parser_paths = "LD_LIBRARY_PATH=$pwd/debian/tmp/usr/lib MONO_PATH=$mono_path:$pwd/debian/tmp/usr/lib/mono/4.5 MONO_GAC_PREFIX=$mono_gac_prefix "; $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."); diff --git a/debian/dh_makeclilibs b/debian/dh_makeclilibs index 9e04533f0c..b215eae670 100755 --- a/debian/dh_makeclilibs +++ b/debian/dh_makeclilibs @@ -135,7 +135,7 @@ if (defined($dh{INTERNAL_MONO_FLAG}) || (defined($ARGV[0]) && $ARGV[0] eq "internal-mono")) { $clr = "mono"; my $mono_path = "LD_LIBRARY_PATH=debian/tmp/usr/lib MONO_PATH=debian/tmp/usr/lib/mono/4.5 MONO_CFG_DIR=debian/tmp/etc"; - $cli_parser = "$mono_path debian/tmp/usr/bin/ikdasm"; + $cli_parser = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/4.5/ikdasm.exe"; $sn = "$mono_path debian/tmp/usr/bin/mono debian/tmp/usr/lib/mono/4.5/sn.exe"; verbose_print("Will use build Mono (debian/tmp/usr/bin/ikdasm) for CIL parsing."); } elsif (-x "/usr/bin/ikdasm") {