+2005-07-09 Bruno Haible <bruno@clisp.org>
+
+ * csharpcomp.sh.in (options_csc): For -l option, add a .dll suffix.
+ * csharpcomp.c (compile_csharp_using_sscli): Likewise.
+ Reported by Mark Junker <mjscod@gmx.de>.
+
2005-11-29 Paul Eggert <eggert@cs.ucla.edu>
* stdint_.h (intmax_t) [defined intmax_t]: Do not declare.
}
for (i = 0; i < libraries_count; i++)
{
- char *option = (char *) xallocsa (11 + strlen (libraries[i]) + 1);
+ char *option = (char *) xallocsa (11 + strlen (libraries[i]) + 4 + 1);
memcpy (option, "-reference:", 11);
- strcpy (option + 11, libraries[i]);
+ memcpy (option + 11, libraries[i], strlen (libraries[i]));
+ strcpy (option + 11 + strlen (libraries[i]), ".dll");
*argp++ = option;
}
if (optimize)
-l)
options_cscc="$options_cscc -l "`echo "$2" | sed -e "$sed_quote_subst"`
options_mcs="$options_mcs -r "`echo "$2" | sed -e "$sed_quote_subst"`
- options_csc="$options_csc -reference:"`echo "$2" | sed -e "$sed_quote_subst"`
+ options_csc="$options_csc -reference:"`echo "$2" | sed -e "$sed_quote_subst"`".dll"
shift
;;
-O)