From e6515ff5183df02b654b40daf8082a2fc3873f8f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 19 Feb 2015 17:01:35 +0100 Subject: [PATCH] configure: move LDFLAGS to LLDP_LDFLAGS --- configure.ac | 6 ++++-- src/Makefile.am | 1 + src/client/Makefile.am | 1 + src/daemon/Makefile.am | 4 +++- src/lib/Makefile.am | 3 ++- tests/Makefile.am | 1 + 6 files changed, 12 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 1f9bdb76..9b22e860 100644 --- a/configure.ac +++ b/configure.ac @@ -278,8 +278,10 @@ lldp_ARG_ENABLE([oldies], [compatibility with Linux kernel older than 2.6.18], [ # Output results AC_SUBST([LLDP_CFLAGS], [$CFLAGS]) AC_SUBST([LLDP_CPPFLAGS], [$CPPFLAGS]) +AC_SUBST([LLDP_LDFLAGS], [$LDFLAGS]) CFLAGS= -CPPFLAGS +CPPFLAGS= +LDFLAGS= AM_CONDITIONAL([HAVE_CHECK], [test x"$have_check" = x"yes"]) AM_CONDITIONAL([USE_SNMP], [test x"$with_snmp" = x"yes"]) AM_CONDITIONAL([USE_XML], [test x"$with_xml" = x"yes"]) @@ -302,7 +304,7 @@ cat <