1
0
mirror of https://github.com/lxsang/ant-http synced 2024-06-26 18:39:48 +02:00

add fPIC compiler option

This commit is contained in:
root 2016-11-01 11:33:18 +00:00
parent 6b4d249cb1
commit b20085903e
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -31,7 +31,7 @@ plugins: $(PLUGINS)
%.$(EXT): $(PLUGINSDEP)
for file in $(wildcard plugins/$(basename $@)/*.c) ; do\
$(CC) $(CFLAGS) -c $$file -o $$file.o; \
$(CC) -fPIC $(CFLAGS) -c $$file -o $$file.o; \
done
$(CC) $(CFLAGS) $(PLUGINLIBS) -shared -o $(BUILDIRD)/plugins/$(basename $@).$(EXT) \
$(PLUGINSDEP) plugins/$(basename $@)/*.c.o