[Conf] Handle the case of using the default 'sysconfdir' value of meson
authorWook Song <wook16.song@samsung.com>
Fri, 24 May 2019 04:45:53 +0000 (13:45 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 25 Jul 2019 11:21:09 +0000 (20:21 +0900)
commit3b24cb3c982931bf45fda320d3472c0233974489
tree1e2111c402f37dde2b8421deb0bd5447659be433
parent2132bc25c0862ed8f3c66893f47c14b2f6a5ded2
[Conf] Handle the case of using the default 'sysconfdir' value of meson

Since the default value of 'sysconfdir' in the Meson build system is
just 'etc' instead of '/etc', NNSTREAMER_CONF_FILE could be set to wrong
path when the default value is used. This patch fixes this issue.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/nnstreamer/nnstreamer_conf.c
gst/nnstreamer/nnstreamer_conf.h