summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Eversberg2008-08-30 08:55:34 +0200
committerAndreas Eversberg2008-08-30 08:55:34 +0200
commit9939cc6641645d72e8485b2bfdb1da89cd62e488 (patch)
tree2a713f7940999203c464b912bacd4d80d650468b
parentLCR now runs as a user. (diff)
downloadlcr-9939cc6641645d72e8485b2bfdb1da89cd62e488.tar.gz
lcr-9939cc6641645d72e8485b2bfdb1da89cd62e488.tar.xz
lcr-9939cc6641645d72e8485b2bfdb1da89cd62e488.zip
Added -fPIC to fix chan_lcr shared object.
modified: Makefile
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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