diff --git a/src/mod/endpoints/mod_opal/Makefile.am b/src/mod/endpoints/mod_opal/Makefile.am index 1da5aa8b63..d9c92f58e0 100644 --- a/src/mod/endpoints/mod_opal/Makefile.am +++ b/src/mod/endpoints/mod_opal/Makefile.am @@ -15,11 +15,11 @@ MODNAME=mod_opal OPALDIR=$(switch_builddir)/libs/opal mod_LTLIBRARIES = mod_opal.la -mod_opal_la_SOURCES = opalh323_backend.cpp mod_opalh323.cpp +mod_opal_la_SOURCES = opal_backend.cpp mod_opal.cpp mod_opal_la_CPPFLAGS = $(AM_CPPFLAGS) -D_REENTRANT -fno-exceptions -Wall -DPTRACING -Os -felide-constructors -Wreorder -I$(OPALDIR)/include mod_opal_la_LIBADD = $(switch_builddir)/libfreeswitch.la -mod_opal_la_LDFLAGS = -avoid-version -module -no-undefined -export-symbols-regex ^switch_module_.*$ -rpath $(PREFIX)/$(libdir) -L$(OPALDIR)/lib -lopal_linux_x86_r -lpt_linux_x86_r -lpthread -lsasl2 -lssl -lcrypto -lexpat -ldl +mod_opal_la_LDFLAGS = -avoid-version -module -no-undefined -export-symbols-regex ^switch_module_.*$ -rpath $(PREFIX)/$(libdir) -L$(OPALDIR)/lib -lopal_linux_x86_r -lpt_linux_x86_r -lpthread -ldl -fPIC -DPIC #Override the linstall target so we just install the .so/.dylib