simplify
This commit is contained in:
@@ -189,16 +189,15 @@ stepmania_SOURCES = $(Screens) $(DataStructures) $(FileTypes) $(StepMania) $(Arc
|
|||||||
# "fix" would be to statically link SDL_image, but that would mean
|
# "fix" would be to statically link SDL_image, but that would mean
|
||||||
# dealing with its build and libjpeg, png, etc--not worth it.
|
# dealing with its build and libjpeg, png, etc--not worth it.
|
||||||
|
|
||||||
libSDL =
|
|
||||||
|
|
||||||
if NHAVE_SDL
|
if NHAVE_SDL
|
||||||
libSDL += $(srcdir)/SDL-1.2.6/src/.libs/libSDL.a
|
USE_SDL_LIBS = $(srcdir)/SDL-1.2.6/src/.libs/libSDL.a
|
||||||
|
else
|
||||||
|
USE_SDL_LIBS = $(SDL_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
stepmania_LDADD = \
|
stepmania_LDADD = \
|
||||||
$(GL_LIBS) \
|
$(GL_LIBS) \
|
||||||
$(libSDL) \
|
$(USE_SDL_LIBS) -lSDL_image \
|
||||||
$(SDL_LIBS) -lSDL_image \
|
|
||||||
$(AUDIO_LIBS) \
|
$(AUDIO_LIBS) \
|
||||||
$(srcdir)/libresample/libresample.a
|
$(srcdir)/libresample/libresample.a
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user