summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rwxr-xr-xconfigure3
2 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 40bb517b06..8616896b55 100644
--- a/Makefile
+++ b/Makefile
@@ -152,6 +152,7 @@ SRCS_MPLAYER-$(LIBMENU) += libmenu/menu.c \
SRCS_MPLAYER-$(LIRC) += input/lirc.c
+OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o
SRCS_MENCODER = mencoder.c \
mp_msg-mencoder.c \
diff --git a/configure b/configure
index 22cbb280da..4e72a355ce 100755
--- a/configure
+++ b/configure
@@ -1339,6 +1339,7 @@ if win32 ; then
_exesuf=".exe"
# -lwinmm is always needed for osdep/timer-win2.c
_ld_extra="$_ld_extra -lwinmm"
+ _pe_executable=yes
_timer=timer-win2.c
fi
@@ -7730,6 +7731,8 @@ NEED_VSSCANF = $_need_vsscanf
GETCH = $_getch
TIMER = $_timer
+PE_EXECUTABLE = $_pe_executable
+
# audio output
OSS = $_ossaudio
ALSA = $_alsa