From: Chris Lattner Date: Sun, 13 Feb 2005 23:37:09 +0000 (+0000) Subject: Fix the llvm bootstrap X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=550c57cb30059aaacba562c14d5824be76b8c4a2;p=oota-llvm.git Fix the llvm bootstrap git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20170 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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__