Using $(PNG) instead of -lpng in a spot in Makefile (based on SF.net Bug #3187560)
This commit is contained in:
parent
05f33a2a08
commit
7549a2e044
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -1,10 +1,10 @@
|
||||||
# Tux Paint - A simple drawing program for children.
|
# Tux Paint - A simple drawing program for children.
|
||||||
|
|
||||||
# Copyright (c) 2002-2011 by Bill Kendrick and others
|
# Copyright (c) 2002-2012 by Bill Kendrick and others
|
||||||
# bill@newbreedsoftware.com
|
# bill@newbreedsoftware.com
|
||||||
# http://www.tuxpaint.org/
|
# http://www.tuxpaint.org/
|
||||||
|
|
||||||
# June 14, 2002 - August 9, 2011
|
# June 14, 2002 - March 4, 2012
|
||||||
|
|
||||||
|
|
||||||
# The version number, for release:
|
# The version number, for release:
|
||||||
|
|
@ -173,7 +173,7 @@ CURSOR_SHAPES:=LARGE
|
||||||
# CURSOR_SHAPES:=SMALL
|
# CURSOR_SHAPES:=SMALL
|
||||||
|
|
||||||
# Libraries, paths, and flags:
|
# Libraries, paths, and flags:
|
||||||
SDL_LIBS:=$(shell $(PKG_CONFIG) $(SDL_PCNAME) --libs) -lSDL_image -lSDL_ttf -lz -lpng
|
SDL_LIBS:=$(shell $(PKG_CONFIG) $(SDL_PCNAME) --libs) -lSDL_image -lSDL_ttf -lz $(PNG)
|
||||||
|
|
||||||
# Sound support
|
# Sound support
|
||||||
SDL_MIXER_LIB:=$(call linktest,-lSDL_mixer,$(SDL_LIBS))
|
SDL_MIXER_LIB:=$(call linktest,-lSDL_mixer,$(SDL_LIBS))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue