Fix the llvm bootstrap
authorChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 23:37:09 +0000 (23:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 23:37:09 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20170 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/ltdl.c

index a0e07f821788b7f32c0a6398a4af648e2082ad44..60bbec127e513b15350cf467de5d66d1ae64215e 100644 (file)
@@ -1165,7 +1165,7 @@ static struct lt_user_dlloader sys_dl =
 \f
 /* --- 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__