1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00

use pkg-config to find sdl2 installation correctly. (#391)

This commit is contained in:
Yannick Heneault 2018-08-15 13:41:26 -04:00 committed by Pavol Rusnak
parent 2214b99d64
commit 33dcb4ae8a

View File

@ -94,8 +94,8 @@ CFLAGS += -DHEADLESS=1
else
CFLAGS += -DHEADLESS=0
CFLAGS += -I/usr/include/SDL2 -D_REENTRANT
LDLIBS += -lSDL2
CFLAGS += $(shell pkg-config --cflags sdl2)
LDLIBS += $(shell pkg-config --libs sdl2)
endif
ifdef RANDOM_DEV_FILE