summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--gui/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 8e65c3db9b..88ed9ac643 100755
--- a/configure
+++ b/configure
@@ -7395,6 +7395,7 @@ if test "$_gtk1" = yes ; then
fi
else #if ! win32
+ _gui_win32=yes
_libs_mplayer="$_libs_mplayer -lcomdlg32 -lcomctl32 -lshell32 -lkernel32"
_def_gui='#define HAVE_NEW_GUI 1'
_def_gtk2_gui='#undef HAVE_GTK2_GUI'
@@ -7840,6 +7841,7 @@ HAVE_VIS = $_vis
# --- GUI stuff ---
GUI = $_gui
+GUI_WIN32 = $_gui_win32
# --- libvo stuff ---
VO_SRCS = $_vosrc
diff --git a/gui/Makefile b/gui/Makefile
index 777fa031d0..35f7a6258e 100644
--- a/gui/Makefile
+++ b/gui/Makefile
@@ -4,7 +4,7 @@ LIBNAME_MPLAYER = libgui.a
#CFLAGS += -DDEBUG
-ifeq ($(TARGET_WIN32),yes)
+ifeq ($(GUI_WIN32),yes)
SRCS_MPLAYER = bitmap.c \
win32/dialogs.c \
win32/gui.c \