meson: Don't add static printf library to executables
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 25 Jul 2018 08:55:07 +0000 (14:25 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Wed, 25 Jul 2018 10:32:06 +0000 (16:02 +0530)
They should only need to link to libgstreamer.

libs/gst/helpers/meson.build
plugins/tracers/meson.build
tests/benchmarks/meson.build
tools/meson.build

index 34aa640..3a3a1b8 100644 (file)
@@ -3,7 +3,6 @@ executable('gst-plugin-scanner',
   c_args : gst_c_args,
   include_directories : [configinc],
   dependencies : [gobject_dep, gmodule_dep, glib_dep, mathlib, gst_dep],
-  link_with : [printf_lib],
   install_dir : helpers_install_dir,
   install: true,
 )
@@ -124,7 +123,6 @@ if have_ptp
     c_args : gst_c_args,
     include_directories : [configinc, libsinc],
     dependencies : [gio_dep, gobject_dep, glib_dep, mathlib, gst_dep, cap_dep],
-    link_with : [printf_lib],
     install_dir : helpers_install_dir,
     install : true)
 
index f515736..da3ced5 100644 (file)
@@ -20,7 +20,6 @@ gst_tracers = library('gstcoretracers',
   c_args : tracers_args,
   include_directories : [configinc],
   dependencies : [gst_dep],
-  link_with : printf_lib,
   install : true,
   install_dir : '@0@/gstreamer-1.0'.format(get_option('libdir')),
 )
index 0ed4808..598f19c 100644 (file)
@@ -14,7 +14,6 @@ benchmarks = [
 foreach b : benchmarks
   executable(b, '@0@.c'.format(b),
     c_args : gst_c_args,
-    link_with : [printf_lib],
     dependencies : [gobject_dep, gmodule_dep, glib_dep, gst_dep, gst_controller_dep],
     )
 endforeach
index 322312a..78ea0e0 100644 (file)
@@ -9,7 +9,6 @@ foreach tool : tools
     install: true,
     include_directories : [configinc],
     dependencies : [glib_dep, gobject_dep, gmodule_dep, mathlib, gst_dep],
-    link_with: [printf_lib],
     c_args: gst_c_args,
   )