Skip to content

Commit

Permalink
Merge pull request #33 from arch1t3cht/fix_meson_build
Browse files Browse the repository at this point in the history
Fix meson build
  • Loading branch information
myrsloik authored Apr 1, 2024
2 parents e2c1081 + 837ee31 commit b248a0b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[submodule "libp2p"]
path = libp2p
url = https://github.com/sekrit-twc/libp2p.git
[submodule "AviSynthPlus"]
path = AviSynthPlus
url = https://github.com/AviSynth/AviSynthPlus
1 change: 1 addition & 0 deletions AviSynthPlus
Submodule AviSynthPlus added at 850573
3 changes: 2 additions & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ deps = [
dependency('libavcodec', version: '>=60.31.0', static: link_static),
dependency('libavformat', version: '>=60.16.0', static: link_static),
dependency('libavutil', version: '>=58.29.0', static: link_static),
dependency('libxxhash'),
]

is_gnu_linker = meson.get_compiler('cpp').get_linker_id() in ['ld.bfd', 'ld.gold', 'ld.mold']
Expand All @@ -64,7 +65,7 @@ elif is_gnu_linker
endif

shared_module('bestsource', sources,
cpp_args: ['-D_FILE_OFFSET_BITS=64']
cpp_args: ['-D_FILE_OFFSET_BITS=64'],
dependencies: deps,
gnu_symbol_visibility: 'hidden',
install: true,
Expand Down

0 comments on commit b248a0b

Please sign in to comment.