summaryrefslogtreecommitdiff
path: root/lib/System
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-13 23:37:09 +0000
committerChris Lattner <sabre@nondot.org>2005-02-13 23:37:09 +0000
commit550c57cb30059aaacba562c14d5824be76b8c4a2 (patch)
tree493e83e6aab7a38dfc2370a8578ccb6f99fd791b /lib/System
parent0c09e5fb91feae42f437d632abf8a42da27fc1d2 (diff)
Fix the llvm bootstrap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-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 a0e07f82178..60bbec127e5 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__