--- asterisk-200505051326/funcs/Makefile.old 2005-05-05 14:05:47.865581110 +0300 +++ asterisk-200505051326/funcs/Makefile 2005-05-05 14:11:47.466871679 +0300 @@ -21,6 +21,8 @@ FUNC_STRUCTS=$(shell grep 'struct ast_custom_function' $(BUILTINS:.o=.c) | awk '{print $$3};') +CFLAGS+=-fPIC + all: $(FUNCS) clean: