SHA256
1
0
forked from pool/mono-core
mono-core/mono-r81450_fix_ia64_find-requires.patch

22 lines
678 B
Diff

Index: scripts/mono-find-requires.in
===================================================================
--- scripts/mono-find-requires.in (revision 81444)
+++ scripts/mono-find-requires.in (working copy)
@@ -33,9 +33,16 @@
if test "x@reloc_libdir@" = "xlib64" ; then
libext="()(64bit)"
else
+ # (note, this works on ppc64 since we only have 32bit mono
libext=""
fi
+# Exceptions:
+case `uname -m` in
+ # ia64 doesn't use lib64 for 'libdir' (sles 9 rpm used to provide both... no longer)
+ ia64) libext="()(64bit)" ;;
+esac
+
# set LD_LIBRARY_PATH to ensure that libmono.so is found
export LD_LIBRARY_PATH=$libdir${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}