[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-xorriso] [PATCH] acinclude: fix LIBBURN_ASSERT_VERS_LIBS for out-of
From: |
Ross Burton |
Subject: |
[Bug-xorriso] [PATCH] acinclude: fix LIBBURN_ASSERT_VERS_LIBS for out-of-tree builds |
Date: |
Thu, 4 Apr 2019 16:56:03 +0100 |
The test for symbol versioning assumes that the build is happening in the source
tree, so use $srcdir so the test works with out-of-tree builds.
---
acinclude.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/acinclude.m4 b/acinclude.m4
index 80701e9..dc20c22 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -53,12 +53,12 @@ dnl It tests whether -Wl,--version-script=... works with
the compiler
AC_DEFUN([LIBBURN_ASSERT_VERS_LIBS],
[
libburnia_save_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS -Wl,--version-script=libburn/libburn.ver"
+ LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/libburn/libburn.ver"
AC_TRY_LINK([#include <stdio.h>], [printf("Hello\n");],
[vers_libs_test="yes"], [vers_libs_test="no"])
if test x$vers_libs_test = xyes
then
- LIBLDFLAGS="-Wl,--version-script=libburn/libburn.ver"
+ LIBLDFLAGS="-Wl,--version-script=$srcdir/libburn/libburn.ver"
fi
LDFLAGS="$libburnia_save_LDFLAGS"
AC_SUBST(LIBLDFLAGS)
--
2.11.0
- [Bug-xorriso] [PATCH] acinclude: fix LIBBURN_ASSERT_VERS_LIBS for out-of-tree builds,
Ross Burton <=