blob: 99ee545d36afdc805bb7f27e680d276abd887b2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --git a/Makefile b/Makefile
index b961d79..51e79f9 100644
--- a/Makefile
+++ b/Makefile
@@ -22,11 +22,14 @@ SOURCES = \
include Makefile-arch.inc
ifeq ($(ARCH),lin)
# Linux
- FLAGS += -DARCH_LIN $(shell pkg-config --cflags gtk+-2.0)
+ FLAGS += -DARCH_LIN \
+ $(shell pkg-config --cflags gtk+-2.0) \
+ $(shell pkg-config --cflags sdl2)
LDFLAGS += -static-libstdc++ -static-libgcc \
-lGL -lpthread \
- -Ldep/lib -lSDL2 -lsamplerate -lsndfile -ljansson -lcurl \
- -lgtk-x11-2.0 -lgobject-2.0
+ -Ldep/lib -lsamplerate -lsndfile -ljansson -lcurl \
+ $(shell pkg-config --libs sdl2) \
+ $(shell pkg-config --libs gtk+-2.0)
SOURCES += ext/osdialog/osdialog_gtk2.c
else ifeq ($(ARCH),mac)
# Mac
|