mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-27 22:42:09 +00:00
* Unquieten [pkg|sdl]-config for the time being
This commit is contained in:
parent
639fdb4ed3
commit
2fd7ffe754
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -181,7 +181,7 @@ TEMPDIR=/tmp
|
|||
ifneq ($(BUILD_CLIENT),0)
|
||||
# set PKG_CONFIG_PATH to influence this, e.g.
|
||||
# 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)
|
||||
CURL_CFLAGS=$(shell pkg-config --silence-errors --cflags libcurl)
|
||||
CURL_LIBS=$(shell pkg-config --silence-errors --libs libcurl)
|
||||
OPENAL_CFLAGS=$(shell pkg-config --silence-errors --cflags openal)
|
||||
|
@ -192,7 +192,7 @@ ifneq ($(BUILD_CLIENT),0)
|
|||
endif
|
||||
# Use sdl-config if all else fails
|
||||
ifeq ($(SDL_CFLAGS),)
|
||||
ifeq ($(shell which sdl-config &> /dev/null; echo $$?),0)
|
||||
ifeq ($(shell which sdl-config > /dev/null; echo $$?),0)
|
||||
SDL_CFLAGS=$(shell sdl-config --cflags)
|
||||
SDL_LIBS=$(shell sdl-config --libs)
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue