From 1cdb615951005093ebddc0071556b6e9534e0cd5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 31 Jul 2012 19:29:25 +0000 Subject: [PATCH] Fixed building the "debug" modem on MacOS X --- src/modems/Makefile | 2 +- src/modems/project.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modems/Makefile b/src/modems/Makefile index da3e781..3e6ddfd 100644 --- a/src/modems/Makefile +++ b/src/modems/Makefile @@ -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) diff --git a/src/modems/project.conf b/src/modems/project.conf index 8235302..ed1c3e9 100644 --- a/src/modems/project.conf +++ b/src/modems/project.conf @@ -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]