changeset 35921:57761c0cbfe2

build: Only compile modify_reg tool if Win32 emulation is enabled.
author diego
date Tue, 19 Mar 2013 16:50:18 +0000
parents bd3e9d8df038
children 1cc764869d00
files Makefile configure
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Mar 19 16:15:32 2013 +0000
+++ b/Makefile	Tue Mar 19 16:50:18 2013 +0000
@@ -1031,9 +1031,10 @@
 testsclean:
 	-rm -f $(call ADD_ALL_EXESUFS,$(TESTS) $(TESTS-no))
 
-TOOLS-$(ARCH_X86)       += fastmemcpybench modify_reg
+TOOLS-$(ARCH_X86)               += fastmemcpybench
 TOOLS-$(HAVE_WINDOWS_H) += vfw2menc
 TOOLS-$(SDL_IMAGE)      += bmovl-test
+TOOLS-$(WIN32_EMULATION)        += modify_reg
 
 TOOLS := $(addprefix TOOLS/,alaw-gen asfinfo avi-fix avisubdump compare dump_mp4 movinfo netstream subrip vivodump $(TOOLS-yes))
 
--- a/configure	Tue Mar 19 16:15:32 2013 +0000
+++ b/configure	Tue Mar 19 16:50:18 2013 +0000
@@ -6821,6 +6821,7 @@
     _win32dll=yes
   fi
 fi
+_win32_emulation=no
 if test "$_win32dll" = yes ; then
   def_win32dll='#define CONFIG_WIN32DLL 1'
   if ! win32 ; then