oslib-posix: default exec_dir to bindir
commit9386a4a7150fe11690af1897cf28c206c54cde9c
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 18 Aug 2020 10:00:59 +0000 (18 12:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Sep 2020 17:11:36 +0000 (30 19:11 +0200)
tree72a0dc762a33cdf398b53cb4f36490759bf0ea13
parentec986777accd688c1b7159778c9cc729e54a87f4
oslib-posix: default exec_dir to bindir

If the exec_dir cannot be retrieved, just assume it's the installation
directory that was specified at configure time.  This makes it simpler
to reason about what the callers will do if they get back an empty
path.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
util/oslib-posix.c
util/oslib-win32.c