From ce6cc80ed29674b5c95ef4ad8050bc4bf2201429 Mon Sep 17 00:00:00 2001 From: Craig Gowing Date: Thu, 15 Apr 2021 08:36:09 +0100 Subject: [PATCH] Fix #3472 - Correct LD flags for various libs --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index bcfb8cf57..13f4dbb2f 100644 --- a/configure.ac +++ b/configure.ac @@ -2071,7 +2071,7 @@ AC_ARG_WITH([cuda], [ if test "x$withval" != "xno" && test "x$withval" != "xyes"; then with_cuda_cppflags="-I$withval/include" - with_cuda_ldflags="-I$withval/lib" + with_cuda_ldflags="-L$withval/lib" with_cuda="yes" else with_cuda="$withval" @@ -3815,7 +3815,7 @@ AC_ARG_WITH([libnetsnmp], with_libnetsnmp="yes" else with_libnetsnmp_cppflags="-I$withval/include" - with_libnetsnmp_ldflags="-I$withval/lib" + with_libnetsnmp_ldflags="-L$withval/lib" with_libnetsnmp="yes" fi; fi ], @@ -3936,7 +3936,7 @@ AC_ARG_WITH([libnetsnmpagent], with_libnetsnmpagent="yes" else with_libnetsnmpagent_cppflags="-I$withval/include" - with_libnetsnmpagent_ldflags="-I$withval/lib" + with_libnetsnmpagent_ldflags="-L$withval/lib" with_libnetsnmpagent="yes" fi; fi ], -- 2.47.2