Ticket #1633: lion-configure.diff

File lion-configure.diff, 546 bytes (added by jinmei, 8 years ago)
  • configure.ac

    diff --git a/configure.ac b/configure.ac
    index de79551..dc9efdb 100644
    a b case "$host" in 
    108108        LDFLAGS="$LDFLAGS -z now"
    109109        ;;
    110110*-apple-darwin*)
     111        # Starting with OSX 10.7 (Lion) we must choose which IPv6 API to use
     112        # (RFC2292 or RFC3542).
     113        CPPFLAGS="$CPPFLAGS -D__APPLE_USE_RFC_3542"
     114
    111115        # libtool doesn't work perfectly with Darwin: libtool embeds the
    112116        # final install path in dynamic libraries and our loadable python
    113117        # modules always refer to that path even if it's loaded within the