Prevented option --version-script with linker run of xorriso. By Matthias Klose.
This commit is contained in:
parent
276d1be403
commit
c811a436f5
@ -12,7 +12,7 @@ ACLOCAL_AMFLAGS = -I ./
|
|||||||
|
|
||||||
# Build libraries
|
# Build libraries
|
||||||
libisoburn_libisoburn_la_LDFLAGS = \
|
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_libisoburn_la_SOURCES = \
|
||||||
libisoburn/isoburn.h \
|
libisoburn/isoburn.h \
|
||||||
libisoburn/libisoburn.h \
|
libisoburn/libisoburn.h \
|
||||||
|
@ -270,10 +270,12 @@ AC_DEFUN([LIBISOBURN_ASSERT_VERS_LIBS],
|
|||||||
LDFLAGS="$LDFLAGS -Wl,--version-script=libisoburn/libisoburn.ver"
|
LDFLAGS="$LDFLAGS -Wl,--version-script=libisoburn/libisoburn.ver"
|
||||||
AC_TRY_LINK([#include <stdio.h>], [printf("Hello\n");],
|
AC_TRY_LINK([#include <stdio.h>], [printf("Hello\n");],
|
||||||
[vers_libs_test="yes"], [vers_libs_test="no"])
|
[vers_libs_test="yes"], [vers_libs_test="no"])
|
||||||
if test x$vers_libs_test = xno
|
if test x$vers_libs_test = xyes
|
||||||
then
|
then
|
||||||
LDFLAGS="$libburnia_save_LDFLAGS"
|
LIBLDFLAGS="-Wl,--version-script=libisoburn/libisoburn.ver"
|
||||||
fi
|
fi
|
||||||
|
LDFLAGS="$libburnia_save_LDFLAGS"
|
||||||
|
AC_SUBST(LIBLDFLAGS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user