Skip to content

Commit

Permalink
Merge pull request #4912 from pguyot/w18/fix-stck-includes-and-defini…
Browse files Browse the repository at this point in the history
…tion

Patch sctk for macOS picky compiler
  • Loading branch information
danpovey committed Apr 30, 2024
2 parents e57be0d + a979f2a commit ad88b3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ sclite sctk_made: sctk/.compiled

sctk/.compiled: sctk
rm -f sctk/.compiled
sed -i -e '2s/^/#include <unistd.h>\n/' sctk/src/sclite/align.c
sed -i -e '99s/^/int TEXT_set_lang_prof(char *lprof);\n/' sctk/src/sclite/text.h
$(SCTK_MKENV) $(MAKE) -C sctk config
$(SCTK_MKENV) $(MAKE) -C sctk all doc
$(MAKE) -C sctk install
Expand Down

0 comments on commit ad88b3b

Please sign in to comment.