diff options
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index f120a3d..38363e0 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -610,8 +610,9 @@ AC_SUBST(DLLTOOL) AC_SUBST(WINDRES) if test x$gdb_cv_os_cygwin = xyes; then + WIN32LIBS="-luser32" if test x$enable_ide = xyes; then - WIN32LIBS="-ladvapi32" + WIN32LIBS="$WIN32LIBS -ladvapi32" fi fi @@ -687,7 +688,7 @@ if test "${enable_gdbtk}" = "yes"; then CONFIG_OBS="${CONFIG_OBS} gdbtk.o gdbtk-cmds.o gdbtk-hooks.o" if test x$gdb_cv_os_cygwin = xyes; then - WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 -luser32" + WIN32LIBS="${WIN32LIBS} -lshell32 -lgdi32 -lcomdlg32 -ladvapi32" WIN32LDAPP="-Wl,--subsystem,console" CONFIG_OBS="${CONFIG_OBS} gdbres.o" fi |