Commit d667b5b4 authored by Max Kellermann's avatar Max Kellermann

python/build/libs.py: work around libid3tag CFLAGS bug

parent 9cba55b3
import re
from build.project import Project
from build.zlib import ZlibProject
from build.autotools import AutotoolsProject
......@@ -58,6 +59,11 @@ libid3tag = AutotoolsProject(
'--disable-debugging',
],
autogen=True,
edits={
# fix bug in libid3tag's configure.ac which discards all but the last optimization flag
'configure.ac': lambda data: re.sub(r'optimize="\$1"', r'optimize="$optimize $1"', data, count=1),
}
)
libmad = AutotoolsProject(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment