Ticket #20819: mpd.10.6.compile.hack.diff

File mpd.10.6.compile.hack.diff, 362 bytes (added by pat@…, 15 years ago)

Patch to make MPD compile on Snow Leopard

  • configure.ac

    diff --git a/configure.ac b/configure.ac
    index e730c69..dfd49d3 100644
    a b case "$host_os" in 
    743743                enable_osx=yes ;;
    744744esac
    745745
     746case "$host_os" in
     747        darwin10*)
     748                CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk"
     749                ;;
     750esac
     751
    746752AM_CONDITIONAL(HAVE_OSX, test x$enable_osx = xyes)
    747753
    748754AC_ARG_ENABLE(shout,