From 48968c15b292680e24a48bbce65841a36a88b9fa Mon Sep 17 00:00:00 2001 From: Michal Bielicki Date: Thu, 7 Feb 2008 23:45:11 +0000 Subject: [PATCH] force libtool to leave -lodbc alone and not replace it by /usr/lib/libodbc.so since that drives the dynamic detection of platform dependant libodbc.so nuts git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7547 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index a7839c30d5..374b17718d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -154,7 +154,7 @@ endif if ADD_ODBC CORE_CFLAGS += -DSWITCH_HAVE_ODBC libfreeswitch_la_SOURCES += src/switch_odbc.c -libfreeswitch_la_LDFLAGS += -lodbc +libfreeswitch_la_LDFLAGS += -Wl,-lodbc endif bin_SCRIPTS = scripts/gentls_cert scripts/fsxs