summaryrefslogtreecommitdiff
path: root/recipes/gpe-what/gpe-what-0.33/makefile-fix.patch
blob: 3e48d63465d621ae1010759b3b883daee15dccb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gpe-what-0.33/Makefile.orig	2005-11-03 21:41:33 +0100
+++ gpe-what-0.33/Makefile	2005-11-03 21:45:10 +0100
@@ -6,16 +6,14 @@
 
 MEMBERS = gpe-what mbtray
 
-PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS)
-PACKAGE_LDFLAGS += $(GTKLDFLAGS)
+PACKAGE_CFLAGS += $(STANDARD_CFLAGS) $(GTKCFLAGS) `pkg-config --cflags libmb`
+PACKAGE_LDFLAGS += $(GTKLDFLAGS) `pkg-config --libs libmb`
 PACKAGE_CPPFLAGS += -DPACKAGE=\"$(PACKAGE)\" -DPREFIX=\"$(PREFIX)\" -DPACKAGE_LOCALE_DIR=\"$(PREFIX)/share/locale\"
 
 OBJS = $(patsubst %,%.o,$(MEMBERS))
 DEPS = $(patsubst %,%.d,$(MEMBERS))
 SOURCES = $(patsubst %,%.c,$(MEMBERS))
 
-PACKAGE_LDFLAGS += -lmb
-
 ifeq ($(CVSBUILD),yes)
 BUILD = ../build
 else