fix libpq location detection

This commit is contained in:
Ken Rice 2014-09-10 15:04:31 -05:00 committed by root
parent 575adecf75
commit e2b1ee26ae
1 changed files with 2 additions and 2 deletions

View File

@ -3,6 +3,6 @@ MODNAME=mod_cdr_pg_csv
mod_LTLIBRARIES = mod_cdr_pg_csv.la
mod_cdr_pg_csv_la_SOURCES = mod_cdr_pg_csv.c
mod_cdr_pg_csv_la_CFLAGS = $(AM_CFLAGS) $(SWITCH_AM_CXXFLAGS)
mod_cdr_pg_csv_la_CFLAGS = $(AM_CFLAGS) $(SWITCH_AM_CXXFLAGS) $(POSTGRESQL_CFLAGS)
mod_cdr_pg_csv_la_LIBADD = $(switch_builddir)/libfreeswitch.la
mod_cdr_pg_csv_la_LDFLAGS = -avoid-version -module -no-undefined -shared -lpq $(SWITCH_AM_LDFLAGS)
mod_cdr_pg_csv_la_LDFLAGS = -avoid-version -module -no-undefined -shared $(SWITCH_AM_LDFLAGS) $(POSTGRESQL_LIBDIR) -lpq