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:
parent
2214b99d64
commit
33dcb4ae8a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user