# make special characters such as \n go through all
# backends is a fool's errand.
-import sys, os, shutil, subprocess
+import sys, os, subprocess
cmd = []
argn = 1
ofilename = sys.argv[argn]
headers = sys.argv[argn + 1:]
-inc = '\n'.join(['#include"%s"' % i for i in headers])
+inc = '\n'.join(['#include"%s"' % os.path.basename(i) for i in headers])
h_array = ['--fhead',
"#ifndef __GST_MPEGTS_ENUM_TYPES_H__\n#define __GST_MPEGTS_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n",
c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'],
include_directories : [configinc, libsinc],
dependencies : [gstcodecparsers_dep, gstmpegts_dep, gsttag_dep,
- gstpbutils_dep, gstaudio_dep, gstbase_dep],
+ gstpbutils_dep, gstaudio_dep, gstbase_dep, mathlib],
install : true,
install_dir : plugins_install_dir,
)
cdata.set('HAVE_X11', 1)
endif
+mathlib = cc.find_library('m', required : false)
+
if host_machine.system() == 'windows'
winsock2 = [cc.find_library('ws2_32')]
else