From 4d0676476190ed3249d05ca182ca84c5ed5ad581 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 14 Apr 2014 13:35:02 -0700 Subject: mpd: specify libc++ for clang Closes #28399. Signed-off-by: Misty De Meo --- Library/Formula/mpd.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/mpd.rb b/Library/Formula/mpd.rb index 0e2c6fd48..c776079da 100644 --- a/Library/Formula/mpd.rb +++ b/Library/Formula/mpd.rb @@ -55,6 +55,11 @@ class Mpd < Formula depends_on "libvorbis" if build.with? "vorbis" # Vorbis support def install + # mpd specifies -std=gnu++0x, but clang appears to try to build + # that against libstdc++ anyway, which won't work. + # The build is fine with G++. + ENV.libcxx + if build.include? "lastfm" or build.include? "libwrap" \ or build.include? "enable-soundcloud" opoo "You are using an option that has been replaced." -- cgit v1.2.3