summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/Ghostscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/Ghostscript.cpp')
-rw-r--r--dviware/dvisvgm/src/Ghostscript.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/dviware/dvisvgm/src/Ghostscript.cpp b/dviware/dvisvgm/src/Ghostscript.cpp
index c097ace667..1ff82314ec 100644
--- a/dviware/dvisvgm/src/Ghostscript.cpp
+++ b/dviware/dvisvgm/src/Ghostscript.cpp
@@ -2,7 +2,7 @@
** Ghostscript.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2019 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -144,6 +144,9 @@ static string get_libgs (const string &fname) {
dlname = "libgs." + to_string(i) + ".dylib";
if (loader.loadLibrary(dlname))
return dlname;
+ dlname = "libgs.dylib." + to_string(i);
+ if (loader.loadLibrary(dlname))
+ return dlname;
#endif
}
#endif