diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-21 15:42:14 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-22 22:47:59 -0700 |
| commit | adc036f58ed4722f363abebce69223af9059b0ad (patch) | |
| tree | 88f655b98e149f5150bd99e04b92e603bab2a4b7 /pkg/mpv | |
| parent | d921287a261883e205eef33f077cee89027a030b (diff) | |
Style
Diffstat (limited to 'pkg/mpv')
| -rw-r--r-- | pkg/mpv/gen.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/mpv/gen.lua b/pkg/mpv/gen.lua index 14af2fd9..f8212e5e 100644 --- a/pkg/mpv/gen.lua +++ b/pkg/mpv/gen.lua @@ -113,15 +113,15 @@ do end end -local sources = {} +local srcs = {} for line in iterlines('sources.txt', 1) do local i = line:find(' ', 1, true) local add = true if not i or eval(line, i + 1) then - sources[line:sub(1, i and i - 1)] = true + srcs[line:sub(1, i and i - 1)] = true end end -sources = table.keys(sources) +srcs = table.keys(srcs) if options['HAVE_ALSA'] then cflags{'-isystem $builddir/pkg/alsa-lib/include'} @@ -172,7 +172,7 @@ exe('mpv', { 'ta/ta.c', 'ta/ta_talloc.c', 'ta/ta_utils.c', - sources, + srcs, expand{'$builddir/pkg/', libs}, }) file('bin/mpv', '755', '$outdir/mpv') |
