SDL/x11 : make Copy/Paste and Drag&Drop work

This commit is contained in:
Thomas Bernard
2018-07-13 01:31:15 +02:00
parent 8ec57abf88
commit d7c6193c21
5 changed files with 304 additions and 146 deletions

View File

@@ -511,9 +511,11 @@ endif
LOPT = -lm
ifeq ($(API),sdl)
LOPT += $(shell sdl-config --libs) -lSDL_image
LOPT += -lX11
endif
ifeq ($(API),sdl2)
LOPT += $(shell sdl2-config --libs) -lSDL2_image
LOPT += -lX11
endif
LOPT += $(TTFLOPT)
LOPT += $(shell pkg-config --libs libpng)