summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorKarel Gardas <karel.gardas@centrum.cz>2008-05-28 09:31:39 +0000
committerKarel Gardas <karel.gardas@centrum.cz>2008-05-28 09:31:39 +0000
commit74614af8bae38235a30273b2dc1f90b970a87095 (patch)
treecd57ee09236dbf058bd98c192292d4d351a72848 /includes
parent982f6e5405eadb41860772ad0fe13ce0980fad2f (diff)
downloadhaskell-74614af8bae38235a30273b2dc1f90b970a87095.tar.gz
FIX #2313 do not include BFD symbols in RTS when the BFD library is not available for linking
Diffstat (limited to 'includes')
-rw-r--r--includes/RtsConfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/RtsConfig.h b/includes/RtsConfig.h
index 828b9e72d3..caf76b32f8 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