aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/System/ltdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/ltdl.c b/lib/System/ltdl.c
index a0e07f8217..60bbec127e 100644
--- a/lib/System/ltdl.c
+++ b/lib/System/ltdl.c
@@ -1165,7 +1165,7 @@ static struct lt_user_dlloader sys_dl =
/* --- SHL_LOAD() INTERFACE LOADER --- */
-#if HAVE_SHL_LOAD
+#if HAVE_SHL_LOAD && !defined(__llvm__)
/* dynamic linking with shl_load (HP-UX) (comments from gmodule) */
@@ -2214,7 +2214,7 @@ lt_dlinit ()
#if HAVE_LIBDL
errors += lt_dlloader_add (lt_dlloader_next (0), &sys_dl, "dlopen");
#endif
-#if HAVE_SHL_LOAD
+#if HAVE_SHL_LOAD && !defined(__llvm__)
errors += lt_dlloader_add (lt_dlloader_next (0), &sys_shl, "dlopen");
#endif
#ifdef __WINDOWS__