Comment 7 for bug 688538

Revision history for this message
Loïc Minier (lool) wrote :

So this is due to srcdir != builddir; this rule:
ubuntuone-sharp.dll: U1MusicStore.cs
>-------$(MONO_CSC) -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs

doesn't glob $srcdir/bindings/mono/AssemblyInfo.cs when run from within $builddir/bindings/mono/.

If I try:
/usr/bin/gmcs -target:library -pkg:gtk-sharp-2.0 -out:ubuntuone-sharp.dll *.cs ../../../bindings/mono/*.cs

I get:
error CS1548: Error during assembly signing. The specified file `mono.snk' does not exist
Compilation failed: 1 error(s), 0 warnings

because mono.snk is not in the search path; I tried adding the parent source dir with -L/-lib:, but that doesn't work for keyfile.