On 11/16/20 10:43 AM, Roger via lfs-dev wrote:
eudev puts udev.pc in /usr/share/pkgconfig; all other packages
use /usr/lib/pkgconfig.

To put udev.pc in /usr/lib/pkgconfig change eudev's "make
install" command to

     make sharepkgconfigdir=/usr/lib/pkgconfig install

You can do that, but see https://people.freedesktop.org/~dbn/pkg-config-guide.html

"... references the PKG_CONFIG_PATH environment variable. This variable is used to augment pkg-config's search path. On a typical Unix system, it will search in the directories /usr/lib/pkgconfig and /usr/share/pkgconfig. This will usually cover system installed modules. However, some local modules may be installed in a different prefix such as /usr/local. In that case, it's necessary to prepend the search path so that pkg-config can locate the .pc files."

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to