How to specify XYZ path when I use configure --with-XYZ = yes

I'm trying to compile the c-source via configure, make, make installtrilogy.

Since I want to compile the sources so that they use a different library (XYZ), which is not used by default, I can indicate that with

./configure --with-XYZ=yes

However, at the moment, XYZ is not installed in the default location, so I think I can specify the path to the XYZ location with the same script configuration. If my guess is correct, I would appreciate it if someone could point me in the right direction on how to do this.

+3
source share
2 answers

Specify the library path on the command line as follows:

./configure --with-XYZ=yes LDFLAGS=-L/path/to/xyz
+4

- LDFLAGS ( -L) CPPFLAGS ( -I), ptomato.

, , . --with-XYZ=PATH, --with-XYZ-path=PATH, pkg-config. , .

+2

Source: https://habr.com/ru/post/1791879/


All Articles