From 1ff12dd4b383b1446cf02d9039e5ac2ffca5ff61 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 31 Jul 2012 19:32:32 +0000 Subject: [PATCH] Give all of the modem plug-ins a better chance to build on MacOS X --- src/modems/Makefile | 1 + src/modems/project.conf | 1 + 2 files changed, 2 insertions(+) diff --git a/src/modems/Makefile b/src/modems/Makefile index 3e6ddfd..f06c7a7 100644 --- a/src/modems/Makefile +++ b/src/modems/Makefile @@ -7,6 +7,7 @@ CPPFLAGSF= -I ../../include CPPFLAGS= CFLAGSF = -W `pkg-config --cflags glib-2.0` CFLAGS = -Wall -g -O2 -pedantic -fPIC +LDFLAGSF= `pkg-config --libs glib-2.0` AR ?= ar RANLIB ?= ranlib CCSHARED?= $(CC) -shared diff --git a/src/modems/project.conf b/src/modems/project.conf index ed1c3e9..545350f 100644 --- a/src/modems/project.conf +++ b/src/modems/project.conf @@ -3,6 +3,7 @@ cppflags_force=-I ../../include cppflags= cflags_force=-W `pkg-config --cflags glib-2.0` cflags=-Wall -g -O2 -pedantic -fPIC +ldflags_force=`pkg-config --libs glib-2.0` includes=hayes.h dist=Makefile,osmocom.c