Prevented option --version-script with linker runs of binaries. By Matthias Klose.
This commit is contained in:
parent
6e5d3dc2d1
commit
e631f2d977
@ -12,7 +12,7 @@ ACLOCAL_AMFLAGS = -I ./
|
||||
|
||||
# Build libraries
|
||||
libburn_libburn_la_LDFLAGS = \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) $(LIBLDFLAGS)
|
||||
# This causes undesired .o names
|
||||
# configure.ac appends -D options to variable CFLAG
|
||||
### libburn_libburn_la_CFLAGS = $(LIBBURN_DVD_OBS_64K)
|
||||
|
@ -56,10 +56,12 @@ AC_DEFUN([LIBBURN_ASSERT_VERS_LIBS],
|
||||
LDFLAGS="$LDFLAGS -Wl,--version-script=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 = xno
|
||||
if test x$vers_libs_test = xyes
|
||||
then
|
||||
LDFLAGS="$libburnia_save_LDFLAGS"
|
||||
LIBLDFLAGS="-Wl,--version-script=libburn/libburn.ver"
|
||||
fi
|
||||
LDFLAGS="$libburnia_save_LDFLAGS"
|
||||
AC_SUBST(LIBLDFLAGS)
|
||||
])
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user