]> git.ipfire.org Git - thirdparty/util-linux.git/commit
build-sys: add --with-pkgconfigdir
authorKarel Zak <kzak@redhat.com>
Tue, 14 May 2019 11:50:59 +0000 (13:50 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 May 2019 11:50:59 +0000 (13:50 +0200)
commit99f95a1ea9c86b8f0d99355a97c289dc4756a44b
treee94f3f814b5d4ce62571e1f8f6ad6771044ff94d
parent99878f5dc49c7a8bf110a355ec9e84a1daa767f9
build-sys: add --with-pkgconfigdir

It seems we need a way how to override the default pkg-config install directory.

default:
$ ./configure
$ grep 'pkgconfigdir ='  Makefile
pkgconfigdir = ${usrlib_execdir}/pkgconfig

user-defined:
$ ./configure --with-pkgconfigdir=/usr/share/pkgconfig
$ grep 'pkgconfigdir ='  Makefile
$ pkgconfigdir = /usr/share/pkgconfig

Addresses: https://github.com/karelzak/util-linux/issues/793
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
configure.ac