File gstreamer-pie.patch of Package gstreamer
Index: gstreamer-1.24.0/libs/gst/helpers/meson.build
===================================================================
--- gstreamer-1.24.0.orig/libs/gst/helpers/meson.build
+++ gstreamer-1.24.0/libs/gst/helpers/meson.build
@@ -6,11 +6,13 @@ gst_helpers = {
'deps': [gst_dep, mathlib, gmodule_dep],
'env': ['GST_PLUGIN_SCANNER', 'exe-full-path'],
'install_dir': helpers_install_dir,
+ 'pie': true,
},
'gst-completion-helper': {
'files': files('gst-completion-helper.c'),
'deps': [gst_dep],
'install_dir': helpers_install_dir,
+ 'pie': true,
},
}
@@ -25,6 +27,7 @@ if not get_option('tools').disabled() an
include_directories : [configinc],
dependencies : data.get('deps', []),
c_args: data.get('extra_c_args', []) + ['-DG_LOG_DOMAIN="@0@"'.format(exe_name)],
+ pie: true,
)
if(data.has_key('env'))
env = data.get(('env'))