Fix icu4c expression for latest gcc (fixes #2341)

gstqt5
John Wiegley 2014-04-21 09:22:33 -05:00
parent ad80532881
commit d393c6c538
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ stdenv.mkDerivation {
sha256 = "14l0kl17nirc34frcybzg0snknaks23abhdxkmsqg3k9sil5wk9g";
};
makeFlags = stdenv.lib.optionalString stdenv.isDarwin
"CXXFLAGS=-headerpad_max_install_names";
# FIXME: This fixes dylib references in the dylibs themselves, but
# not in the programs in $out/bin.
buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;