lame: prevent build failure from using outdated symbol list
Before this change, trying to build LAME on Darwin would throw an error: Undefined symbols for architecture x86_64: "_lame_init_old", referenced from: -exported_symbol[s_list] command line option ld: symbol(s) not found for architecture x86_64 clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
This commit is contained in:
parent
19d67e1368
commit
e82dc084d4
@ -55,6 +55,12 @@ stdenv.mkDerivation rec {
|
||||
(if debugSupport then "--enable-debug=alot" else "")
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# Prevent a build failure for 3.100 due to using outdated symbol list
|
||||
# https://hydrogenaud.io/index.php/topic,114777.msg946373.html#msg946373
|
||||
sed -i '/lame_init_old/d' include/libmp3lame.sym
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A high quality MPEG Audio Layer III (MP3) encoder";
|
||||
homepage = http://lame.sourceforge.net;
|
||||
|
Loading…
Reference in New Issue
Block a user