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]