More problems uncovered by -Wl,--no-undefined
input_path = pathlib.Path(sys.argv[1])
variable_name = input_path.stem.replace('-', '_')
-print('static const char *{} ='.format(variable_name))
+print('static const char *{}_string ='.format(variable_name))
for line in input_path.read_text().splitlines():
# escape backlashes
)
script_plugin = shared_module('script',
- [ 'plugin.c', script_headers ],
+ [ script_headers, script_plugin_src ],
dependencies: [
libply_splash_core_dep,
libply_splash_graphics_dep,