Skip to content

Commit

Permalink
patch ogg header
Browse files Browse the repository at this point in the history
  • Loading branch information
ixchow committed Sep 10, 2019
1 parent a975d38 commit 07ffbb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rebuild-libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sys/types.h>", "#include <stdint.h>")
])
shutil.copy(lib_dir + "/out/lib/libogg.a", target + "/" + lib_name + "/lib/")
shutil.copy(lib_dir + "/COPYING", target + "/" + lib_name + "/dist/README-libogg.txt")

Expand Down

0 comments on commit 07ffbb4

Please sign in to comment.