From 9939cc6641645d72e8485b2bfdb1da89cd62e488 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Sat, 30 Aug 2008 08:55:34 +0200 Subject: Added -fPIC to fix chan_lcr shared object. modified: Makefile --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 171b57b..b337e51 100644 --- a/Makefile +++ b/Makefile @@ -230,7 +230,8 @@ $(LCRADMIN): lcradmin.c cause.c options.c *.h Makefile options.c -o $(LCRADMIN) $(CHAN_LCR): chan_lcr.o bchannel.o callerid.o options.o *.h Makefile - $(CC) -shared -Xlinker -x $(LDFLAGS) -o $(CHAN_LCR) chan_lcr.o bchannel.o callerid.o options.o + $(CC) -shared -fPIC -Xlinker -x $(LDFLAGS) -o $(CHAN_LCR) chan_lcr.o \ + bchannel.o callerid.o options.o $(LCRWATCH): watch.c *.h Makefile -- cgit v1.2.3-55-g7522