Prevented option --version-script with linker run of xorriso. By Matthias Klose.
This commit is contained in:
parent
32d844054d
commit
e9e7394867
@ -12,7 +12,7 @@ ACLOCAL_AMFLAGS = -I ./
|
||||
|
||||
# Build libraries
|
||||
libisoburn_libisoburn_la_LDFLAGS = \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LIBLDFLAGS)
|
||||
libisoburn_libisoburn_la_SOURCES = \
|
||||
libisoburn/isoburn.h \
|
||||
libisoburn/libisoburn.h \
|
||||
|
@ -270,10 +270,12 @@ AC_DEFUN([LIBISOBURN_ASSERT_VERS_LIBS],
|
||||
LDFLAGS="$LDFLAGS -Wl,--version-script=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 = xno
|
||||
if test x$vers_libs_test = xyes
|
||||
then
|
||||
LDFLAGS="$libburnia_save_LDFLAGS"
|
||||
LIBLDFLAGS="-Wl,--version-script=libisoburn/libisoburn.ver"
|
||||
fi
|
||||
LDFLAGS="$libburnia_save_LDFLAGS"
|
||||
AC_SUBST(LIBLDFLAGS)
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user