Fixed build of the "systray" Panel applet on MacOS X
This commit is contained in:
parent
af90c6bd5e
commit
21a8e068c3
|
@ -167,8 +167,8 @@ swap.so: $(swap_OBJS)
|
||||||
$(CCSHARED) -o swap.so $(swap_OBJS) $(swap_LDFLAGS)
|
$(CCSHARED) -o swap.so $(swap_OBJS) $(swap_LDFLAGS)
|
||||||
|
|
||||||
systray_OBJS = systray.o
|
systray_OBJS = systray.o
|
||||||
systray_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS)
|
systray_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags x11`
|
||||||
systray_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
|
systray_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs x11`
|
||||||
|
|
||||||
systray.so: $(systray_OBJS)
|
systray.so: $(systray_OBJS)
|
||||||
$(CCSHARED) -o systray.so $(systray_OBJS) $(systray_LDFLAGS)
|
$(CCSHARED) -o systray.so $(systray_OBJS) $(systray_LDFLAGS)
|
||||||
|
|
|
@ -188,6 +188,8 @@ depends=../../include/Panel.h
|
||||||
[systray]
|
[systray]
|
||||||
type=plugin
|
type=plugin
|
||||||
sources=systray.c
|
sources=systray.c
|
||||||
|
cflags=`pkg-config --cflags x11`
|
||||||
|
ldflags=`pkg-config --libs x11`
|
||||||
install=$(LIBDIR)/Panel/applets
|
install=$(LIBDIR)/Panel/applets
|
||||||
|
|
||||||
[systray.c]
|
[systray.c]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user