From 07ffbb4eb980d8a473d41a03824a4fe817002315 Mon Sep 17 00:00:00 2001 From: "Jim McCann (retchow)" Date: Tue, 10 Sep 2019 10:08:59 -0400 Subject: [PATCH] patch ogg header --- rebuild-libs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rebuild-libs.py b/rebuild-libs.py index 9b81905..37cb5ce 100755 --- a/rebuild-libs.py +++ b/rebuild-libs.py @@ -446,6 +446,10 @@ def build_libogg(): shutil.copy(lib_dir + "/out/include/ogg/config_types.h", target + "/" + lib_name + "/include/ogg/") shutil.copy(lib_dir + "/out/include/ogg/ogg.h", target + "/" + lib_name + "/include/ogg/") shutil.copy(lib_dir + "/out/include/ogg/os_types.h", target + "/" + lib_name + "/include/ogg/") + if target == 'macos': + replace_in_file(target + "/" + lib_name + "/include/ogg/os_types.h", [ + ("# include ", "#include ") + ]) shutil.copy(lib_dir + "/out/lib/libogg.a", target + "/" + lib_name + "/lib/") shutil.copy(lib_dir + "/COPYING", target + "/" + lib_name + "/dist/README-libogg.txt")