From ee49a2a68fe12b972b32e2d4d61aed91d6052cdc Mon Sep 17 00:00:00 2001 From: KOMEDA Shinji Date: Wed, 25 Jun 2014 22:34:15 +0900 Subject: [PATCH] patch required to build oracle plugin, collectd-5.4.0 (#653) --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 0f2db078..770e3954 100644 --- a/configure.in +++ b/configure.in @@ -2915,14 +2915,14 @@ fi if test "x$with_oracle" = "xyes" then SAVE_CPPFLAGS="$CPPFLAGS" - SAVE_LDFLAGS="$LDFLAGS" + SAVE_LIBS="$LDFLAGS" CPPFLAGS="$CPPFLAGS $with_oracle_cppflags" - LDFLAGS="$LDFLAGS $with_oracle_libs" + LIBS="$LIBS $with_oracle_libs" AC_CHECK_FUNC(OCIEnvCreate, [with_oracle="yes"], [with_oracle="no (Symbol 'OCIEnvCreate' not found)"]) CPPFLAGS="$SAVE_CPPFLAGS" - LDFLAGS="$SAVE_LDFLAGS" + LIBS="$SAVE_LIBS" fi if test "x$with_oracle" = "xyes" then -- 2.11.0