diff --git a/configure b/configure index 959d92c662b..dd39f7d5f22 100755 --- a/configure +++ b/configure @@ -582,7 +582,7 @@ fi # Check whether --enable-lib or --disable-lib was given. if test "${enable_lib+set}" = set; then enableval="$enable_lib" - if test "$enableval" = "no"; then ALT_LINK="\$(LIBOBJS)"; LIB_TARGET=""; fi + if test "$enableval" = "no"; then ALT_LINK="\$(LIBOBJS) \$(X11OBJS)"; LIB_TARGET=""; fi fi diff --git a/configure.in b/configure.in index 46bf7da5469..684d6ad42ff 100644 --- a/configure.in +++ b/configure.in @@ -29,7 +29,7 @@ AC_ARG_ENABLE(dll, AC_ARG_ENABLE(lib, [ --disable-lib build the Wine without building libwine.a], -[if test "$enableval" = "no"; then ALT_LINK="\$(LIBOBJS)"; LIB_TARGET=""; fi]) +[if test "$enableval" = "no"; then ALT_LINK="\$(LIBOBJS) \$(X11OBJS)"; LIB_TARGET=""; fi]) dnl AC_ARG_WITH(ipc, dnl [ --enable-ipc use inter-process communication for DDE],