Permalink
Browse files

Fixed building on MacOS X

  • Loading branch information...
1 parent 985b613 commit 991527fca91c33d1b3ab2581af43861df97403b4 @khorben khorben committed Dec 24, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −2 src/applets/Makefile
  2. +2 −0 src/applets/project.conf
View
@@ -69,8 +69,8 @@ desktop.so: $(desktop_OBJS)
$(CCSHARED) -o desktop.so $(desktop_OBJS) $(desktop_LDFLAGS)
embed_OBJS = embed.o
-embed_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
-embed_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
+embed_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags libDesktop`
+embed_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs libDesktop`
embed.so: $(embed_OBJS)
$(CCSHARED) -o embed.so $(embed_OBJS) $(embed_LDFLAGS)
View
@@ -69,6 +69,8 @@ depends=../../include/Panel.h
[embed]
type=plugin
sources=embed.c
+cflags=`pkg-config --cflags libDesktop`
+ldflags=`pkg-config --libs libDesktop`
install=$(LIBDIR)/Panel/applets
[embed.c]

0 comments on commit 991527f

Please sign in to comment.