From: Michal Bielicki Date: Thu, 7 Feb 2008 23:45:11 +0000 (+0000) Subject: force libtool to leave -lodbc alone and not replace it by /usr/lib/libodbc.so since... X-Git-Tag: v1.0-rc1~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48968c15b292680e24a48bbce65841a36a88b9fa;p=thirdparty%2Ffreeswitch.git 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 --- 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