Browse Source

Made libisoburn ready for building out-of-source. Thanks Ross Burton.

master
Thomas Schmitt 3 years ago
parent
commit
0722502075
  1. 4
      acinclude.m4

4
acinclude.m4

@ -272,12 +272,12 @@ dnl It tests whether -Wl,--version-script=... works with the compiler
AC_DEFUN([LIBISOBURN_ASSERT_VERS_LIBS],
[
libburnia_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS -Wl,--version-script=libisoburn/libisoburn.ver"
LDFLAGS="$LDFLAGS -Wl,--version-script=$srcdir/libisoburn/libisoburn.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=libisoburn/libisoburn.ver"
LIBLDFLAGS="-Wl,--version-script=$srcdir/libisoburn/libisoburn.ver"
fi
LDFLAGS="$libburnia_save_LDFLAGS"
AC_SUBST(LIBLDFLAGS)

Loading…
Cancel
Save