projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75aea3d
)
* plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
author
Ian Lance Taylor
<ian@airs.com>
Fri, 9 Oct 2009 23:07:30 +0000
(23:07 +0000)
committer
Ian Lance Taylor
<ian@airs.com>
Fri, 9 Oct 2009 23:07:30 +0000
(23:07 +0000)
defined.
gold/ChangeLog
patch
|
blob
|
history
gold/plugin.cc
patch
|
blob
|
history
diff --git
a/gold/ChangeLog
b/gold/ChangeLog
index 05320fa91529a3d569c56cfc5f90c6abad229f8a..098d347f8a2c9ec0ba63730660c272f87519a2c3 100644
(file)
--- a/
gold/ChangeLog
+++ b/
gold/ChangeLog
@@
-1,3
+1,8
@@
+2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
+
+ * plugin.cc: Don't include dlfcn.h when ENABLE_PLUGINS is not
+ defined.
+
2009-10-09 Andrew Pinski <andrew_pinski@playstation.sony.com>
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
diff --git
a/gold/plugin.cc
b/gold/plugin.cc
index ccbcffd807cdc5b61173e3da27cc659c5bd177b9..104ac5cf946794d90ebb17aa2ef71e04f92a9903 100644
(file)
--- a/
gold/plugin.cc
+++ b/
gold/plugin.cc
@@
-25,7
+25,10
@@
#include <cstring>
#include <string>
#include <vector>
+
+#ifdef ENABLE_PLUGINS
#include <dlfcn.h>
+#endif
#include "gold.h"
#include "parameters.h"