git repos / blockattack-game

commit 9a59f09c

sago007 · 2015-11-08 18:39
9a59f09c10f09a40f2a93330592984cda467ce10 patch · browse files
parent 53001fa270216aaf3962356d351d32c11525eaa0

On Ubuntu 12.04 there seems to be a problem with pkg-config and SDL_ttf. Moved it outside

Changed files

M source/code/Makefile before
diff --git a/source/code/Makefile b/source/code/Makefile index 60025b7..442249c 100644 --- a/source/code/Makefile +++ b/source/code/Makefile
@@ -16,7 +16,7 @@ ifndef BUILDDIR
BUILDDIR=build
endif
-BASE_LIBS=$(shell $(CROSS)sdl-config --libs) $(shell $(CROSS)pkg-config SDL_image SDL_mixer SDL_ttf --libs)
+BASE_LIBS=$(shell $(CROSS)sdl-config --libs) -lSDL_ttf $(shell $(CROSS)pkg-config SDL_image SDL_mixer --libs)
#For developement only
ifndef DEBUG