summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/queryloaders.c
diff options
context:
space:
mode:
authorHesham Essam <hesham.essam.mail@gmail.com>2022-06-03 13:29:28 +0200
committerHesham Essam <hesham.essam.mail@gmail.com>2022-06-03 15:21:01 +0200
commit89fce0c2a1887b139b8a1bfbeb30c3d243c56f52 (patch)
tree743703713505ac95e2afe256a35de6410cb77203 /gdk-pixbuf/queryloaders.c
parent5c516d02dc9a46b48cc4a9734f260615795891f0 (diff)
downloadgdk-pixbuf-89fce0c2a1887b139b8a1bfbeb30c3d243c56f52.tar.gz
Disable relocation when built as a static libary on Windows
Diffstat (limited to 'gdk-pixbuf/queryloaders.c')
-rw-r--r--gdk-pixbuf/queryloaders.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
index ddcae7b6f..1d39b442e 100644
--- a/gdk-pixbuf/queryloaders.c
+++ b/gdk-pixbuf/queryloaders.c
@@ -280,7 +280,7 @@ query_module (GString *contents, const char *dir, const char *file)
g_free (path);
}
-#ifdef G_OS_WIN32
+#if defined(G_OS_WIN32) && defined(GDK_PIXBUF_RELOCATABLE)
static char *
get_libdir (void)