[Mono-bugs] [Bug 70070][Nor] Changed - File not found exception lists incorrect native library
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 1 Dec 2004 16:01:57 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by tao@taoframework.com.
http://bugzilla.ximian.com/show_bug.cgi?id=70070
--- shadow/70070 2004-12-01 15:39:01.000000000 -0500
+++ shadow/70070.tmp.17701 2004-12-01 16:01:57.000000000 -0500
@@ -67,6 +67,18 @@
libgl.so and throw an exception, leading to this bug report. The
solution is either to delete the config file, to implement something
like above, or to try the override target, catch the file not found
exception, then try the original dll, if that's not found, throw...
Thoughts?
+
+------- Additional Comments From tao@taoframework.com 2004-12-01 16:01 -------
+Perhaps even the platform doesn't matter and a list would be enough, e.g.:
+
+<dllmap dll="foo.dll">
+ <target dll="foo.dll" />
+ <target dll="libfoo.so" />
+ <target dll="bar.dll" />
+ <target dll="libbar.so" />
+</dllmap>
+
+Where it tries in succession and uses the first found...