mirror of
https://github.com/UberGames/ioef.git
synced 2024-12-18 00:21:40 +00:00
Don't set SDL variables if we don't build the client -> removes error messages when building on a server without SDL installed.
This commit is contained in:
parent
8d8ed0b47a
commit
40c773d80e
1 changed files with 19 additions and 16 deletions
3
Makefile
3
Makefile
|
@ -181,6 +181,8 @@ SDLHDIR=$(MOUNT_DIR)/SDL12
|
||||||
LIBSDIR=$(MOUNT_DIR)/libs
|
LIBSDIR=$(MOUNT_DIR)/libs
|
||||||
TEMPDIR=/tmp
|
TEMPDIR=/tmp
|
||||||
|
|
||||||
|
# We won't need this if we want to build the client
|
||||||
|
ifneq ($(BUILD_CLIENT),0)
|
||||||
# set PKG_CONFIG_PATH to influence this, e.g.
|
# set PKG_CONFIG_PATH to influence this, e.g.
|
||||||
# PKG_CONFIG_PATH=/opt/cross/i386-mingw32msvc/lib/pkgconfig
|
# PKG_CONFIG_PATH=/opt/cross/i386-mingw32msvc/lib/pkgconfig
|
||||||
ifeq ($(shell which pkg-config > /dev/null; echo $$?),0)
|
ifeq ($(shell which pkg-config > /dev/null; echo $$?),0)
|
||||||
|
@ -199,6 +201,7 @@ ifeq ($(SDL_CFLAGS),)
|
||||||
SDL_LIBS=$(shell sdl-config --libs)
|
SDL_LIBS=$(shell sdl-config --libs)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# version info
|
# version info
|
||||||
VERSION=1.36
|
VERSION=1.36
|
||||||
|
|
Loading…
Reference in a new issue