Skip to content

Commit

Permalink
meson: Always wrap "prefix" option with join_paths() to make Windows …
Browse files Browse the repository at this point in the history
…happy

Both "\" and "/" separators are allowed on Windows but the problem
is that "\" is not converted to "\\" in this case.
It will result to unknown/unrecognized character escape sequence.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/818>
  • Loading branch information
seungha-yang authored and GStreamer Merge Bot committed Oct 1, 2020
1 parent d867cac commit ebeded7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Expand Up @@ -325,7 +325,7 @@ else
get_option('libdir'), 'gio/modules'))
core_conf.set_quoted('GIO_LIBDIR', join_paths(get_option('prefix'),
get_option('libdir')))
core_conf.set_quoted('GIO_PREFIX', get_option('prefix'))
core_conf.set_quoted('GIO_PREFIX', join_paths(get_option('prefix')))
endif

configinc = include_directories('.')
Expand Down

0 comments on commit ebeded7

Please sign in to comment.