mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 12:42:02 +00:00
FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
include $(top_srcdir)/build/modmake.rulesam
|
||||
MODNAME=mod_pgsql
|
||||
|
||||
if HAVE_PGSQL
|
||||
|
||||
|
||||
mod_LTLIBRARIES = mod_pgsql.la
|
||||
mod_pgsql_la_SOURCES = mod_pgsql.c
|
||||
mod_pgsql_la_CFLAGS = $(AM_CFLAGS) $(POSTGRESQL_CFLAGS)
|
||||
mod_pgsql_la_LIBADD = $(switch_builddir)/libfreeswitch.la
|
||||
mod_pgsql_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(POSTGRESQL_LDFLAGS)
|
||||
|
||||
else
|
||||
install: error
|
||||
all: error
|
||||
error:
|
||||
$(error You must install libpq-dev to build mod_pgsql)
|
||||
endif
|
||||
Reference in New Issue
Block a user