mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-01 17:53:52 +00:00
meson: Small cleanup, unused variable
This commit is contained in:
parent
415e0e68af
commit
6935d3f1db
1 changed files with 3 additions and 4 deletions
|
@ -24,7 +24,6 @@ soversion = 0
|
||||||
libversion = '@0@.@1@.0'.format(soversion, gst_version_minor * 100 + gst_version_micro)
|
libversion = '@0@.@1@.0'.format(soversion, gst_version_minor * 100 + gst_version_micro)
|
||||||
|
|
||||||
prefix = get_option('prefix')
|
prefix = get_option('prefix')
|
||||||
libtype = get_option('default_library')
|
|
||||||
|
|
||||||
libexecdir = get_option('libexecdir')
|
libexecdir = get_option('libexecdir')
|
||||||
helpers_install_dir = join_paths(libexecdir, 'gstreamer-1.0')
|
helpers_install_dir = join_paths(libexecdir, 'gstreamer-1.0')
|
||||||
|
@ -421,9 +420,9 @@ gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' +
|
||||||
gst_c_args = ['-DHAVE_CONFIG_H']
|
gst_c_args = ['-DHAVE_CONFIG_H']
|
||||||
|
|
||||||
# FIXME: This is only needed on windows and probably breaks when
|
# FIXME: This is only needed on windows and probably breaks when
|
||||||
# libtype=='both'. We should add this flag to static_c_args instead when Meson
|
# default_library = 'both'. We should add this flag to static_c_args instead
|
||||||
# supports it: https://github.com/mesonbuild/meson/issues/3304
|
# when Meson supports it: https://github.com/mesonbuild/meson/issues/3304
|
||||||
if libtype == 'static'
|
if get_option('default_library') == 'static'
|
||||||
gst_c_args += ['-DGST_STATIC_COMPILATION']
|
gst_c_args += ['-DGST_STATIC_COMPILATION']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue