How does libtool determine the suffix on error cannot install 'xxx' to a directory not ending in //lib?

39 views Asked by At

I want to build lely-core: https://gitlab.com/lely_industries/lely-core using conan2 inside a docker container.

I can reproduce this without conan. Build steps:

autoreconf -i
./configure --disable-cython --disable-python --disable-python2 --disable-python3 --disable-doc
make -j16
mkdir -p ./_package/local/usr
make install prefix=$(Absolute Path to _package folder)/local/usr

When I build without docker everything works. When I build with my docker container I get this error:

error: cannot install 'liblely-tap.la' to a directory not ending in //lib

How does libtool determine the suffix //lib? I assume this is an environment problem, but I couldn't find which variables are used.

0

There are 0 answers