[Mono-bugs] [Bug 51590][Maj] New - --version-script not supported on OS X
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 2 Dec 2003 10:23:48 -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 rshade@dvsconsulting.com.
http://bugzilla.ximian.com/show_bug.cgi?id=51590
--- shadow/51590 2003-12-02 10:23:48.000000000 -0500
+++ shadow/51590.tmp.20588 2003-12-02 10:23:48.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 51590
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details: 10.3.1
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: rshade@dvsconsulting.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: --version-script not supported on OS X
+
+The linker flag --version-script is not supported on OS X. This sets options for libraries that
+are only applicable to ELF binaries, OSX uses MACH. This is used in mono/mini and causes
+the build to fail.
+
+As a workaround, one can just comment out the line:
+
+libmono_la_LDFLAGS=-Wl,-version-script=$(srcdir)/ldscript
+
+in mono/mini/Makefile.am and rerun autogen.sh. This additional flag needs to be optional
+depending on the platform. It should fail on any platform not using ELF binaries.