diff options
| author | David Lamparter <equinox@diac24.net> | 2018-11-30 21:42:25 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-01-30 18:29:47 +0100 |
| commit | 68626e08f76939f4e01976c02837033eed4c77f2 (patch) | |
| tree | 5311eaba87c25be8d03f4d52f788ea1b5820747b | |
| parent | b8a84b5cc1d60e2ebfc6d1c2fee0ce6b2f33b6d2 (diff) | |
build, lib/yang: bake in extensions if possible (v2)
LIBS<>LDFLAGS was wrong on this one.
Fixes: 02a0df1f22c5cef8e4d3392d56e7db82da0d49cf
Signed-off-by: David Lamparter <equinox@diac24.net>
| -rwxr-xr-x | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index afdc6336b0..97482dbd1a 100755 --- a/configure.ac +++ b/configure.ac @@ -1610,8 +1610,8 @@ AC_CHECK_MEMBER([struct lyd_node.priv], [], [ ]) ], [[#include <libyang/libyang.h>]]) -ac_ld_flag_save="$LDFLAGS" -LDFLAGS="$LDFLAGS $libyang_LIBS" +ac_libs_save="$LIBS" +LIBS="$LIBS $libyang_LIBS" AC_CHECK_FUNC([ly_register_types], [ libyang_ext_builtin=true AC_DEFINE([LIBYANG_EXT_BUILTIN], [1], [have ly_register_types()]) @@ -1626,7 +1626,7 @@ AC_CHECK_FUNC([ly_register_types], [ AC_MSG_WARN([===== old libyang (before 0.16.74) detected =====]) ]) AM_CONDITIONAL([LIBYANG_EXT_BUILTIN], [$libyang_ext_builtin]) -LDFLAGS="$ac_ld_flag_save" +LIBS="$ac_libs_save" dnl --------------- dnl configuration rollbacks |
