SDL2_gfx Makefile patch
https://github.com/flathub/org.tuxpaint.Tuxpaint/blob/beta/Makefile-sdl2_gfx-pkgconfig.patch h/t wjt
This commit is contained in:
parent
1a1893d902
commit
88f035dc60
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
|
@ -4,7 +4,7 @@
|
|||
# Various contributors (see AUTHORS.txt)
|
||||
# https://tuxpaint.org/
|
||||
|
||||
# June 14, 2002 - July 6, 2024
|
||||
# June 14, 2002 - July 8, 2024
|
||||
|
||||
|
||||
# The version number, for release:
|
||||
|
|
@ -310,7 +310,7 @@ CURSOR_SHAPES:=LARGE
|
|||
SDL_LIBS:=$(shell $(PKG_CONFIG) $(SDL_PCNAME) --libs)
|
||||
SDL_LIBS+=$(call linktest,SDL2_image,-lSDL2_image,$(SDL_LIBS))
|
||||
SDL_LIBS+=$(call linktest,SDL2_ttf,-lSDL2_ttf,$(SDL_LIBS))
|
||||
SDL_LIBS+=$(call linktest,SDL2_gfx,-lSDL2_gfx,$(SDL_LIBS))
|
||||
SDL_LIBS+=$(shell $(PKG_CONFIG) SDL2_gfx --libs)
|
||||
SDL_LIBS+=$(call linktest,zlib,-lz,)
|
||||
SDL_LIBS+=$(call linktest,libpng,$(PNG),)
|
||||
|
||||
|
|
@ -330,7 +330,7 @@ PANGO_CFLAGS:=$(shell $(PKG_CONFIG) --cflags pango)
|
|||
SDL_LIBS+=$(SDL_MIXER_LIB) $(SDL2_PANGO_LIB) $(PANGO_LIB)
|
||||
|
||||
SDL_CFLAGS:=$(shell $(PKG_CONFIG) $(SDL_PCNAME) --cflags)
|
||||
|
||||
SDL_CFLAGS+=$(shell $(PKG_CONFIG) SDL2_gfx --cflags)
|
||||
|
||||
# New one: -lrsvg-2 -lcairo
|
||||
# Old one: -lcairo -lsvg -lsvg-cairo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue