[MacPorts] #56396: Bulding shared library libcurl for iOS with bitcode support from sources failed

MacPorts noreply at macports.org
Thu May 3 14:38:26 UTC 2018


#56396: Bulding shared library libcurl for iOS with bitcode support from sources
failed
----------------------------+------------------------
  Reporter:  AlexanderplUs  |      Owner:  ryandesign
      Type:  defect         |     Status:  reopened
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.4.3
Resolution:                 |   Keywords:
      Port:  curl           |
----------------------------+------------------------

Comment (by AlexanderplUs):

 The main problem is that by default libtool.m4 has a suggestion in it that
 compilation must have MACOSX_DEPLOYMENT_TARGET and if it isn't found
 script works as if it is "10.0". But in my case there is an
 IPHONEOS_DEPLOYMENT_TARGET instead of MACOSX_DEPLOYMENT_TARGET. I think
 it'll be better to remove default value for IPHONEOS_DEPLOYMENT_TARGET or
 add check for IPHONEOS_DEPLOYMENT_TARGET in {{{libtool.m4 }}} section:
 {{{
 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
         10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
         10.[[012]][[,.]]*)
           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined
 ${wl}suppress' ;;
         10.*)
           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
       esac
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/56396#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list