move SDL_LIBS Win32 hack to configure
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
c81da56e97
commit
07d9ac4442
@ -441,10 +441,6 @@ ifeq ($(ARCH),ia64)
|
|||||||
LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld
|
LDFLAGS+=-Wl,-G0 -Wl,-T,$(SRC_PATH)/ia64.ld
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_WIN32
|
|
||||||
SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole
|
|
||||||
endif
|
|
||||||
|
|
||||||
# profiling code
|
# profiling code
|
||||||
ifdef TARGET_GPROF
|
ifdef TARGET_GPROF
|
||||||
LDFLAGS+=-p
|
LDFLAGS+=-p
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -887,6 +887,9 @@ EOF
|
|||||||
if compile_prog "$sdl_cflags" "$sdl_libs" ; then
|
if compile_prog "$sdl_cflags" "$sdl_libs" ; then
|
||||||
sdl_libs="$sdl_libs -lX11"
|
sdl_libs="$sdl_libs -lX11"
|
||||||
fi
|
fi
|
||||||
|
if test "$mingw32" = "yes" ; then
|
||||||
|
sdl_libs="`echo $sdl_libs | sed s/-mwindows//g` -mconsole"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
Loading…
Reference in New Issue
Block a user