Release 1.21.2
[platform/upstream/gstreamer.git] / subprojects / gst-rtsp-server / meson.build
index f8fda4a..5d0da9d 100644 (file)
@@ -1,6 +1,6 @@
 project('gst-rtsp-server', 'c',
-  version : '1.21.0.1',
-  meson_version : '>= 0.60',
+  version : '1.21.2',
+  meson_version : '>= 0.62',
   default_options : ['warning_level=1', 'buildtype=debugoptimized'])
 
 gst_version = meson.project_version()
@@ -42,6 +42,12 @@ if cc.has_link_argument('-Wl,-Bsymbolic-functions')
   add_project_link_arguments('-Wl,-Bsymbolic-functions', language : 'c')
 endif
 
+# glib doesn't support unloading, which means that unloading and reloading
+# any library that registers static types will fail
+if cc.has_link_argument('-Wl,-z,nodelete')
+  add_project_link_arguments('-Wl,-z,nodelete', language: 'c')
+endif
+
 # Symbol visibility
 if cc.get_id() == 'msvc'
   export_define = '__declspec(dllexport) extern'
@@ -216,6 +222,7 @@ configure_file(output: 'config.h', configuration: cdata)
 plugin_names = []
 gst_plugins = []
 foreach plugin: plugins
+  pkgconfig.generate(plugin, install_dir: plugins_pkgconfig_install_dir)
   dep = declare_dependency(link_with: plugin, variables: {'full_path': plugin.full_path()})
   meson.override_dependency(plugin.name(), dep)
   gst_plugins += [dep]