mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
(Haiku) Made sure es-pdf-convert is found under all circumstances
This commit is contained in:
parent
20293e1c03
commit
ea023b8e34
|
@ -375,8 +375,8 @@ namespace Utils
|
|||
esBinary = exePath;
|
||||
exePath = getCanonicalPath(exePath);
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
// Fallback to getPathToBinary(argv[0]), needed as FreeBSD does not typically
|
||||
#if defined(__FreeBSD__) || defined(__HAIKU__)
|
||||
// Fallback to getPathToBinary(argv[0]), needed as FreeBSD and Haiku do not
|
||||
// provide /proc/self/exe.
|
||||
if (exePath.empty()) {
|
||||
esBinary = getPathToBinary(path);
|
||||
|
|
Loading…
Reference in a new issue