mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
x264: Link to gmodule in the meson build if extra x264 libraries are provided
We would dynamically load additional x264 libraries then.
This commit is contained in:
parent
248f174c3e
commit
7ac2f7fec5
1 changed files with 4 additions and 1 deletions
|
@ -9,13 +9,16 @@ if x264_dep.found()
|
|||
x264_args = []
|
||||
if x264_libraries != ''
|
||||
x264_args += ['-DHAVE_X264_ADDITIONAL_LIBRARIES="@0@"'.format(x264_libraries)]
|
||||
extra_gmodule_dep = [gmodule_dep]
|
||||
else
|
||||
extra_gmodule_dep = []
|
||||
endif
|
||||
|
||||
gstx264 = library('gstx264',
|
||||
x264_sources,
|
||||
c_args : ugly_args + x264_args,
|
||||
include_directories : [configinc],
|
||||
dependencies : [gstbase_dep, gstvideo_dep, gstpbutils_dep, x264_dep],
|
||||
dependencies : [gstbase_dep, gstvideo_dep, gstpbutils_dep, x264_dep] + extra_gmodule_dep,
|
||||
install : true,
|
||||
install_dir : plugins_install_dir,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue