mirror of
https://github.com/lxsang/ant-http
synced 2024-11-17 17:08:20 +01:00
add fPIC compiler option
This commit is contained in:
parent
6b4d249cb1
commit
b20085903e
BIN
._Makefile
BIN
._Makefile
Binary file not shown.
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user