~kaniini/pkgconf

How to keep system directories out of output

Shrader, David Lee <dshrader@lanl.gov>
Details
Message ID
<d6791ccfca7e4fc7aee4d71a8288e561@lanl.gov>
DKIM signature
missing
Download raw message
Hello,

How do I keep pkgconf from reporting system directories in its output when using pc files provided by that system?
For example, in the following '-L/usr/lib64' is a parameter that I would like to not appear:

$> PKG_CONFIG_PATH=/usr/lib64/pkgconfig pkgconf --libs openssl
-L/usr/lib64 -lssl -lcrypto

I have built pkgconf version 1.7.4 using the following configure line:
$> ./configure --prefix=~/tmp/pkgconf-install --with-system-libdir=/lib64:/usr/lib64 --with-system-includedir=/usr/include

I am using 1.7.4 only because the project I am working on uses that by default. If another version solves this issue,
please let me know. The system I am on is RedHat 7.9.

Thank you very much for any and all help,
David
Reply to thread Export thread (mbox)