diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-05-17 16:24:20 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-05-17 16:24:20 +0000 |
commit | 5a4337e6ec84ebc21bdf15e9d7076576e4f8e862 (patch) | |
tree | bdb8d2dac17137281550e79dbba81f8d55917117 /gdb/configure.ac | |
parent | 6f78e1e9b3d53d75b3f8c9fe2fb0c90774fc3641 (diff) | |
download | gdb-5a4337e6ec84ebc21bdf15e9d7076576e4f8e862.tar.gz |
Replace hardcoded -ldl with check for availability
2013-05-17 Pavel Chupin <pavel.v.chupin@intel.com>
* acinclude.m4: Add check for dlopen in libdl.
* configure.ac: Ditto.
* configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r-- | gdb/configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac index c3f79ec1b40..5fcec522d37 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -2036,7 +2036,7 @@ if test $gdb_cv_var_elf = yes; then [Define if ELF support should be included.]) # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>. if test "$plugins" = "yes"; then - LIBS="-ldl $LIBS" + AC_SEARCH_LIBS(dlopen, dl) fi fi |