diff --git a/Makefile.am b/Makefile.am index 3c8c142527..bfc254e1c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -134,7 +134,7 @@ endif if ADD_ODBC libfreeswitch_la_SOURCES += src/switch_odbc.c -CORE_LIBS += -lodbc +libfreeswitch_la_LDFLAGS += -lodbc endif