Changes between Version 1 and Version 2 of Ticket #55302, comment 31


Ignore:
Timestamp:
Nov 21, 2017, 6:37:37 AM (6 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55302, comment 31

    v1 v2  
    1 I think snowleopard needs to have `libmacho-headers` added as a dependency for this to build correctly. That port provides a newer version of `<mach-o/getsect.h>` that adds a definition for the missing function, `getsectiondata`. I'll try that out on the VM.
     1I think snowleopard needs to have `libunwind` added as a build dependency. That pulls in `libunwind-headers` and also `libmacho` on < 10.7, as per this bit from the libunwind Portfile:
     2{{{
     3    if {${os.major} < 11} {
     4        # Snow Leopard's libSystem's libmacho does not contain getsectiondata()
     5
     6        depends_build-append port:libmacho
     7        configure.cppflags-append -DUSE_MACPORTS_LIBUNWIND
     8        configure.ldflags-append -lmacho
     9    }
     10}}}