From: Karel Gardas Date: Wed, 28 May 2008 09:31:39 +0000 (+0000) Subject: FIX #2313 do not include BFD symbols in RTS when the BFD library is not available... X-Git-Tag: Before_cabalised-GHC~106 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=74614af8bae38235a30273b2dc1f90b970a87095 FIX #2313 do not include BFD symbols in RTS when the BFD library is not available for linking --- diff --git a/includes/RtsConfig.h b/includes/RtsConfig.h index 828b9e7..caf76b3 100644 --- a/includes/RtsConfig.h +++ b/includes/RtsConfig.h @@ -24,7 +24,7 @@ /* * Whether the runtime system will use libbfd for debugging purposes. */ -#if defined(DEBUG) && defined(HAVE_BFD_H) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN) +#if defined(DEBUG) && defined(HAVE_BFD_H) && defined(HAVE_LIBBFD) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN) #define USING_LIBBFD 1 #endif