[Mono-bugs] [Bug 389393] New: [PATCH] Fix linking against eglib on Mac OS X

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 12 12:12:33 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=389393


           Summary: [PATCH] Fix linking against eglib on Mac OS X
           Product: Mono: Runtime
           Version: SVN
          Platform: PowerPC-64
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: patch
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.faerber at web.de
         QAContact: mono-bugs at lists.ximian.com
                CC: gnorton at novell.com
            Blocks: 324134
          Found By: Third Party Developer/Partner


Created an attachment (id=214459)
 --> (https://bugzilla.novell.com/attachment.cgi?id=214459)
proposed patch

The attached patch fixes linking Mono and monoburg against eglib on OSX.

a) -leglib does not work as is because on OSX the .a file is in libtool's .libs
subdir, not in src/.

b) OSX additionally needed -liconv

The previous hack for linking monoburg was therefore moved from GLIB_LIBS to
BUILD_GLIB_LIBS.
For GLIB_LIBS, the proper way of linking against libtool's libeglib.la file was
chosen.
For BUILD_GLIB_LIBS, a Darwin-specific section with different -L dir and with
-liconv was added.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list