diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-17 06:51:29 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-17 06:51:52 -0700 |
commit | e6d4aa80db70499cf1f0dd1b1d6a61c539ba8399 (patch) | |
tree | e5b180419a5ca7eb5e1707787a852754f4161636 | |
parent | 6a2d943e270e027e3feec9b0bd544995c5a80d17 (diff) | |
download | crawl-ref-e6d4aa80db70499cf1f0dd1b1d6a61c539ba8399.tar.gz crawl-ref-e6d4aa80db70499cf1f0dd1b1d6a61c539ba8399.zip |
rltiles: use the system SDL, SDL_image, etc when compiling/linking
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r-- | crawl-ref/source/rltiles/makefile.unix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/rltiles/makefile.unix b/crawl-ref/source/rltiles/makefile.unix index cc5f63bbe8..668cd42033 100644 --- a/crawl-ref/source/rltiles/makefile.unix +++ b/crawl-ref/source/rltiles/makefile.unix @@ -29,8 +29,8 @@ SDL_LDFLAGS := $(shell $(SDLCONFIG) --libs 2> /dev/null) PNG_INCLUDE := $(shell pkg-config libpng --cflags 2> /dev/null) PNG_LIB := $(shell pkg-config libpng --libs 2> /dev/null || echo "-lpng -lz") -CFLAGS := -I../contrib/install/include $(SDL_CFLAGS) $(PNG_INCLUDE) -LDFLAGS := -L../contrib/install/lib $(SDL_LDFLAGS) -lSDL_image $(PNG_LIB) +CFLAGS := $(SDL_CFLAGS) $(PNG_INCLUDE) +LDFLAGS := $(SDL_LDFLAGS) -lSDL_image $(PNG_LIB) endif |