diff options
Diffstat (limited to 'pango/modules.c')
-rw-r--r-- | pango/modules.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pango/modules.c b/pango/modules.c index c5a19f25..24cdbf7d 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -450,7 +450,13 @@ process_module_file (FILE *module_file, const gchar *module_file_dir) switch (i) { case 0: - if (!g_path_is_absolute (tmp_buf->str)) + if (!g_path_is_absolute (tmp_buf->str) +#ifdef __APPLE__ + && strncmp (tmp_buf->str, "@executable_path/", 17) + && strncmp (tmp_buf->str, "@loader_path/", 13) + && strncmp (tmp_buf->str, "@rpath/", 7) +#endif + ) { const gchar *lib_dir = pango_get_lib_subdirectory (); const gchar *abs_file_name = g_build_filename (lib_dir, |