meson: gst: Make GST_FULL_STATIC_COMPILATION a static only arg

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7874>
This commit is contained in:
Thibault Saunier 2024-11-10 11:44:57 -03:00 committed by GStreamer Marge Bot
parent 650ff6c5d0
commit 23ce0d2901

View file

@ -257,7 +257,9 @@ if not tracer_hooks
endif endif
if get_option('gstreamer-static-full') if get_option('gstreamer-static-full')
libgst_c_args += ['-DGST_FULL_STATIC_COMPILATION'] libgst_static_c_args = ['-DGST_FULL_STATIC_COMPILATION']
else
libgst_static_c_args = []
endif endif
# Make sure that subproject building gir files work # Make sure that subproject building gir files work
@ -269,6 +271,7 @@ libgst = library('gstreamer-1.0', gst_sources,
soversion : soversion, soversion : soversion,
darwin_versions : osxversion, darwin_versions : osxversion,
c_args : libgst_c_args + ['-DBUILDING_GST'], c_args : libgst_c_args + ['-DBUILDING_GST'],
c_static_args : libgst_static_c_args,
include_directories : [configinc, include_directories : [configinc,
# HACK, change include paths in .y and .l in final version. # HACK, change include paths in .y and .l in final version.
include_directories('parse')], include_directories('parse')],