From 23ce0d2901d9e61fab93626a61fdf3d74ac90562 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Sun, 10 Nov 2024 11:44:57 -0300 Subject: [PATCH] meson: gst: Make `GST_FULL_STATIC_COMPILATION` a static only arg Part-of: --- subprojects/gstreamer/gst/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/gst/meson.build b/subprojects/gstreamer/gst/meson.build index bd637863c6..01640c090b 100644 --- a/subprojects/gstreamer/gst/meson.build +++ b/subprojects/gstreamer/gst/meson.build @@ -257,7 +257,9 @@ if not tracer_hooks endif 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 # Make sure that subproject building gir files work @@ -269,6 +271,7 @@ libgst = library('gstreamer-1.0', gst_sources, soversion : soversion, darwin_versions : osxversion, c_args : libgst_c_args + ['-DBUILDING_GST'], + c_static_args : libgst_static_c_args, include_directories : [configinc, # HACK, change include paths in .y and .l in final version. include_directories('parse')],