[libgda] Oracle detection correction
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Oracle detection correction
- Date: Sun, 3 Jun 2012 16:10:48 +0000 (UTC)
commit e0e475cca0d7a4ca695ca94b151b8d4d539d2de5
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Jun 3 18:10:14 2012 +0200
Oracle detection correction
explicitely require the libnnz11 library
m4/oracle.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/m4/oracle.m4 b/m4/oracle.m4
index 25461c2..e3a7624 100644
--- a/m4/oracle.m4
+++ b/m4/oracle.m4
@@ -127,7 +127,7 @@ m4_define([_ORACLE_CHECK_INTERNAL],
LIBS="$LIBS -L$d/$oracle_loclibdir -lm -loci"
else
CFLAGS="$CFLAGS -I$d/include -I$d/include/oracle/client -I$d/rdbms/demo -I${ORACLE_HOME}/rdbms/public -I${ORACLE_HOME}/plsql/public -I$d/network/public"
- LIBS="$LIBS -L$d/$oracle_loclibdir -lm -ldl -lclntsh"
+ LIBS="$LIBS -L$d/$oracle_loclibdir -lm -ldl -lnnz11 -lclntsh"
fi
AC_LINK_IFELSE([AC_LANG_SOURCE([
#include <oci.h>
@@ -150,7 +150,7 @@ int main() {
ORACLE_LIBS="-L${oracledir}/$oracle_loclibdir -lm -loci"
else
ORACLE_CFLAGS="-I${oracledir}/include -I${oracledir}/include/oracle/client -I${oracledir}/rdbms/demo -I${ORACLE_HOME}/rdbms/public -I${ORACLE_HOME}/plsql/public -I${oracledir}/network/public"
- ORACLE_LIBS="-L${oracledir}/$oracle_loclibdir -lm -ldl -lclntsh"
+ ORACLE_LIBS="-L${oracledir}/$oracle_loclibdir -lm -ldl -lnnz11 -lclntsh"
fi
break
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]