diff options
| author | Simon Krauter <trustablecode@gmail.com> | 2019-12-12 08:51:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-12 08:51:35 +0100 |
| commit | 7314dcf374e76657a2c1fa5ddb1ebef38086fd56 (patch) | |
| tree | dcd2de799a83a0de02ca1d0a396b6deaf9cb793d /src | |
| parent | 84a2b5c326658460d213b540e4f122b422deb5d6 (diff) | |
| download | NiGui-7314dcf374e76657a2c1fa5ddb1ebef38086fd56.tar.gz NiGui-7314dcf374e76657a2c1fa5ddb1ebef38086fd56.zip | |
Change Gtk3 library filename for macOS
With this change, it should find the library on macOS without compiling with `-d:gtk_quartz`.
Related to #63
Diffstat (limited to 'src')
| -rwxr-xr-x | src/nigui/private/gtk3/gtk3.nim | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nigui/private/gtk3/gtk3.nim b/src/nigui/private/gtk3/gtk3.nim index efd04ae..2f0e399 100755 --- a/src/nigui/private/gtk3/gtk3.nim +++ b/src/nigui/private/gtk3/gtk3.nim @@ -4,10 +4,8 @@ when defined(windows): const libgtk3Path* = "libgtk-3-0.dll" -elif defined(gtk_quartz): - const libgtk3Path* = "libgtk-3.0.dylib" elif defined(macosx): - const libgtk3Path* = "libgtk-x11-3.0.dylib" + const libgtk3Path* = "libgtk-3.0.dylib" else: const libgtk3Path* = "libgtk-3.so(|.0)" |
