forked from AuroraMiddleware/gtk
W32: don't put a string literal into gtk_libdir
In all other instances gtk_libdir is a dynamically-allocated string, so dup the literal in this case as well.
This commit is contained in:
parent
fb4d76d380
commit
6bf88d90f3
@ -161,7 +161,7 @@ _gtk_get_libdir (void)
|
||||
gchar *slash = strrchr (root, '\\');
|
||||
if (slash != NULL &&
|
||||
g_ascii_strcasecmp (slash + 1, ".libs") == 0)
|
||||
gtk_libdir = GTK_LIBDIR;
|
||||
gtk_libdir = g_strdup (GTK_LIBDIR);
|
||||
else
|
||||
gtk_libdir = g_build_filename (root, "lib", NULL);
|
||||
g_free (root);
|
||||
|
Loading…
Reference in New Issue
Block a user