fix link with zlib.
GPX decoding uses zlib. It should be explicitely linked or else it produces errors : Linking ../bin/grafx2-sdl /usr/bin/ld: ../obj/unix-sdl/miscfileformats.o: undefined reference to symbol 'uncompress' //lib/x86_64-linux-gnu/libz.so.1: error adding symbols: DSO missing from command line
This commit is contained in:
parent
7d8ebb9cd0
commit
159e26bb25
@ -635,7 +635,7 @@ endif
|
||||
COPT += -D_NETBSD_SOURCE
|
||||
endif
|
||||
|
||||
LOPT = -lm
|
||||
LOPT = -lm -lz
|
||||
ifeq ($(API),sdl)
|
||||
LOPT += $(shell sdl-config --libs) -lSDL_image
|
||||
ifneq ($(NO_X11),1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user