This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] gdb/configure: Replace hardcoded -ldl with check based on dlfcn.h availability


Hi,
Attached patch adds check for dlfcn.h header availability before
adding -ldl to some configure commands. Otherwise on some
configuration -ldl is added unconditionally even though it's not
required and gdb is configured without ELF support due to failed link.

Issue is found on mingw gdb build for Android.

gdb/ChangeLog entry:
2013-04-16  Pavel Chupin  <pavel.v.chupin@intel.com>

        Replace hardcoded -ldl with check based on dlfcn.h availability
        * configure.ac: Add dlfcn.h check and DLOPEN_LIBS def.
        * acinclude.m4: Use DLOPEN_LIBS instead of hardcode.
        * configure: Regenerate.


--
Pavel Chupin
Intel Corporation

Attachment: 0001-Replace-hardcoded-ldl-with-check-based-on-dlfcn.h-av.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]