There was an error while loading. Please reload this page.
2 parents 3429e8a + d8d82a1 commit 01b088bCopy full SHA for 01b088b
1 file changed
cmake/mp4v2.cmake
@@ -22,6 +22,13 @@ ExternalProject_Add(
22
23
SOURCE_DIR ${MP4V2_SOURCE_DIR}
24
25
+ # mp4v2 2.0.0 由 automake 1.11 生成, 其 GNUmakefile 中的 GNUmakefile.in
26
+ # 再生成规则硬编码了 automake-1.11; 而 x86 构建镜像只提供 automake 1.16。
27
+ # 构建上下文中 aclocal.m4/configure 的 mtime 若新于 GNUmakefile.in,
28
+ # 该规则就会触发, 导致 "automake-1.11: command not found"。
29
+ # 此处 touch 生成的 autotools 文件, 使再生成规则永不触发。
30
+ PATCH_COMMAND touch <SOURCE_DIR>/GNUmakefile.in <SOURCE_DIR>/aclocal.m4 <SOURCE_DIR>/configure
31
+
32
CONFIGURE_COMMAND <SOURCE_DIR>/configure
33
${MP4V2_CONFIGURE_ARGS}
34
0 commit comments