aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mono.snkbin0 -> 596 bytes
-rw-r--r--eclass/xbuild.eclass3
2 files changed, 2 insertions, 1 deletions
diff --git a/eclass/mono.snk b/eclass/mono.snk
new file mode 100644
index 0000000..380116c
--- /dev/null
+++ b/eclass/mono.snk
Binary files differ
diff --git a/eclass/xbuild.eclass b/eclass/xbuild.eclass
index 90a60c1..7e935d3 100644
--- a/eclass/xbuild.eclass
+++ b/eclass/xbuild.eclass
@@ -52,10 +52,11 @@ exbuild() {
# @DESCRIPTION: run xbuild with default key signing
exbuild_strong() {
# http://stackoverflow.com/questions/7903321/only-sign-assemblies-with-strong-name-during-release-build
+ DOTNET_ECLASSDIR="`dirname "${EBUILD}"`/../../eclass"
if use gac; then
if [[ -z ${SNK_FILENAME} ]]; then
# elog ${BASH_SOURCE}
- SNK_FILENAME=/var/lib/layman/dotnet/eclass/mono.snk
+ SNK_FILENAME="${DOTNET_ECLASSDIR}/mono.snk"
# sn - Digitally sign/verify/compare strongnames on CLR assemblies.
# man sn = http://linux.die.net/man/1/sn
if [ -f ${SNK_FILENAME} ]; then