Fixed building the "debug" modem on MacOS X

This commit is contained in:
Pierre Pronchery 2012-07-31 19:29:25 +00:00
parent 387866f1aa
commit 1cdb615951
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ all: $(TARGETS)
debug_OBJS = debug.o
debug_CFLAGS = $(CPPFLAGSF) $(CPPFLAGS) $(CFLAGSF) $(CFLAGS) `pkg-config --cflags gtk+-2.0 libSystem`
debug_LDFLAGS = $(LDFLAGSF) $(LDFLAGS)
debug_LDFLAGS = $(LDFLAGSF) $(LDFLAGS) `pkg-config --libs gtk+-2.0 libSystem`
debug.so: $(debug_OBJS)
$(CCSHARED) -o debug.so $(debug_OBJS) $(debug_LDFLAGS)

View File

@ -10,6 +10,7 @@ dist=Makefile,osmocom.c
type=plugin
sources=debug.c
cflags=`pkg-config --cflags gtk+-2.0 libSystem`
ldflags=`pkg-config --libs gtk+-2.0 libSystem`
install=$(LIBDIR)/Phone/modem
[hayes]