Commit 8de92bee authored by Carit Zhu's avatar Carit Zhu 🎱

Modify gtk libs as gtk+-2.0

parent 6f455968
...@@ -26,9 +26,9 @@ CFLAGS += -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 \ ...@@ -26,9 +26,9 @@ CFLAGS += -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 \
endif endif
GLIB_CFLAGS = GLIB_CFLAGS =
GTK3_CFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-3.0) GTK2_CFLAGS = $(shell $(PKG_CONFIG) --cflags gtk+-2.0)
CFLAGS += $(GLIB_CFLAGS) $(GTK3_CFLAGS) CFLAGS += $(GLIB_CFLAGS) $(GTK2_CFLAGS)
ifeq ($(ARCH), arm) ifeq ($(ARCH), arm)
INCLUDES := \ INCLUDES := \
...@@ -37,9 +37,9 @@ INCLUDES := \ ...@@ -37,9 +37,9 @@ INCLUDES := \
endif endif
GLIB_LIBS = -lglib-2.0 GLIB_LIBS = -lglib-2.0
GTK3_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-3.0) GTK2_LIBS = $(shell $(PKG_CONFIG) --libs gtk+-2.0)
LIBS += $(GLIB_LIBS) $(GTK3_LIBS) LIBS += $(GLIB_LIBS) $(GTK2_LIBS)
# Objects # Objects
objects = main.o objects = main.o
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment