]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] applied proposed patch for #1633 (MacOS Lion build fix)
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 21 Feb 2012 17:22:15 +0000 (09:22 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 21 Feb 2012 17:22:15 +0000 (09:22 -0800)
configure.ac

index de7955196a81fbef4e4fa36b105d29fad5255e4f..dc9efdb43afffd76678a846498fd7c1dc9946ab2 100644 (file)
@@ -108,6 +108,10 @@ case "$host" in
        LDFLAGS="$LDFLAGS -z now"
        ;;
 *-apple-darwin*)
+       # Starting with OSX 10.7 (Lion) we must choose which IPv6 API to use
+       # (RFC2292 or RFC3542).
+       CPPFLAGS="$CPPFLAGS -D__APPLE_USE_RFC_3542"
+
        # libtool doesn't work perfectly with Darwin: libtool embeds the
        # final install path in dynamic libraries and our loadable python
        # modules always refer to that path even if it's loaded within the