--- src/mod/endpoints/mod_sofia/Makefile.in.orig 2021-10-24 18:23:10 UTC +++ src/mod/endpoints/mod_sofia/Makefile.in @@ -14,6 +14,8 @@ @SET_MAKE@ +CFLAGS+=-fPIC +SOLINK=-shared -Xlinker -x VPATH = @srcdir@ am__is_gnu_make = { \ @@ -840,13 +842,13 @@ moddir = @modulesdir@ MODNAME = mod_sofia noinst_LTLIBRARIES = libsofiamod.la libsofiamod_la_SOURCES = mod_sofia.c sofia.c sofia_json_api.c sofia_glue.c sofia_presence.c sofia_reg.c sofia_media.c sip-dig.c rtp.c mod_sofia.h sip-dig.h -libsofiamod_la_LDFLAGS = -static +libsofiamod_la_LDFLAGS = -avoid-version -module -no-undefined -shared -Xlinker -x libsofiamod_la_CFLAGS = $(AM_CFLAGS) -I. $(SOFIA_SIP_CFLAGS) \ $(STIRSHAKEN_CFLAGS) $(am__append_1) mod_LTLIBRARIES = mod_sofia.la mod_sofia_la_SOURCES = mod_sofia_la_LIBADD = $(switch_builddir)/libfreeswitch.la libsofiamod.la -mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined -shared \ +mod_sofia_la_LDFLAGS = -avoid-version -module -no-undefined -shared -Xlinker -x \ $(SOFIA_SIP_LIBS) $(STIRSHAKEN_LIBS) $(am__append_4) test_test_sofia_funcs_SOURCES = test/test_sofia_funcs.c test_test_sofia_funcs_CFLAGS = $(AM_CFLAGS) $(SOFIA_SIP_CFLAGS) \