[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] [PATCH] acinclude: fix LIBBURN_ASSERT_VERS_LIBS for ou
Re: [Bug-xorriso] [PATCH] acinclude: fix LIBBURN_ASSERT_VERS_LIBS for out-of-tree builds
Thu, 4 Apr 2019 17:45:44 +0100
On Thu, 4 Apr 2019 at 17:33, Thomas Schmitt <address@hidden> wrote:
> If so, then libisofs and libisoburn will need similar changes.
Yes, they will.
> I will test your patch with my normal build situation.
> Can you give me instructions how to achieve your situation ?
> I have to confess that my autotools knowledge is strictly heuristic.
Out of tree builds are the best. If you do a 'make distcheck' before
releasing then you'll be exercising them. The basic approach is:
$ cd libburn
$ mkdir build
$ cd build
You'll see that you get "disabled strict symbol encapsulation (test
failed)" in an out-of-tree build. Looking at config.log:
.../ld: cannot open linker script file libisoburn/libisoburn.ver: No
such file or directory
Because the test is being ran from build/ instead of libburn. Thus,
you need to add $srcdir to the linker script path. Don't add
something like ../ because the build directory could be anywhere, it
doesn't have to be a subdirectory of the source directory.