From 2a16c3c4825234ae4ed3aefb554699070c70e932 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Wed, 2 Aug 2017 18:28:17 +0300 Subject: [PATCH] build/autotools: fix symbol versioning configure check Regressed in 4309735. I thought `$top_srcdir` works in configure too, apparently not! See: https://github.com/xkbcommon/libxkbcommon/issues/50#issuecomment-319693694 Signed-off-by: Ran Benita --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 895acc5..8ba57d3 100644 --- a/configure.ac +++ b/configure.ac @@ -97,7 +97,7 @@ openbsd*) esac AM_CONDITIONAL([HAVE_NO_UNDEFINED], [test "x$have_no_undefined" = xyes]) -XORG_CHECK_LINKER_FLAGS([-Wl,--version-script="$top_srcdir/xkbcommon.map"], [have_version_script=yes]) +XORG_CHECK_LINKER_FLAGS([-Wl,--version-script="$srcdir/xkbcommon.map"], [have_version_script=yes]) AM_CONDITIONAL([HAVE_VERSION_SCRIPT], [test "x$have_version_script" = xyes]) AC_CHECK_LIB(rt, clock_gettime, -- 2.7.4