From 74614af8bae38235a30273b2dc1f90b970a87095 Mon Sep 17 00:00:00 2001 From: Karel Gardas Date: Wed, 28 May 2008 09:31:39 +0000 Subject: [PATCH] FIX #2313 do not include BFD symbols in RTS when the BFD library is not available for linking --- includes/RtsConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4