[fpc-pascal] INSTALL_PREFIX, INSTALL_LIBDIR

christo christo.crause at gmail.com
Fri Oct 19 16:40:19 CEST 2018


On 2018/10/18 09:26, Mattias Gaertner via fpc-pascal wrote:
> How to control where 'make install' puts the libraries (e.g.
> libpas2js.so)?
>
> I tried "INSTALL_LIBDIR=~/tmp/lib64", but that moves everything *except*
> libraries to "~/tmp/lib64".
>
> See bug https://bugs.freepascal.org/view.php?id=34346

In trunk (rev. 39838):

"make info FPC=[path to ppcx64]" gives:

Install base dir..... /usr/local/lib/fpc/3.3.1
Install binary dir... /usr/local/bin
Install library dir.. /usr/local/lib
Install units dir.... /usr/local/lib/fpc/3.3.1/units/x86_64-linux/fpc

"make info INSTALL_PREFIX=/xxx FPC=[path to ppcx64]" gives:

Install base dir..... /xxx/lib/fpc/3.3.1
Install binary dir... /xxx/bin
Install library dir.. /xxx/lib
Install units dir.... /xxx/lib/fpc/3.3.1/units/x86_64-linux/fpc

"make info INSTALL_PREFIX=/xxx INSTALL_LIBDIR=/yyy FPC=[path to ppcx64]" 
gives:

Install base dir..... /xxx/lib/fpc/3.3.1
Install binary dir... /xxx/bin
Install library dir.. /yyy
Install units dir.... /xxx/lib/fpc/3.3.1/units/x86_64-linux/fpc

This seems different to your case.  Which version of FPC are you using?



More information about the fpc-pascal mailing list