FIX #2313 do not include BFD symbols in RTS when the BFD library is not available...
authorKarel Gardas <karel.gardas@centrum.cz>
Wed, 28 May 2008 09:31:39 +0000 (09:31 +0000)
committerKarel Gardas <karel.gardas@centrum.cz>
Wed, 28 May 2008 09:31:39 +0000 (09:31 +0000)
includes/RtsConfig.h

index 828b9e7..caf76b3 100644 (file)
@@ -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