Summary: | [PENDING] pkg-config should look in $datadir as well as $libdir | ||
---|---|---|---|
Product: | pkg-config | Reporter: | Owen Taylor <otaylor> |
Component: | src | Assignee: | Tollef Fog Heen <tfheen> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | ||
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Add PKGDATADIR to default search path |
Description
Owen Taylor
2003-09-24 12:36:20 UTC
Created attachment 62 [details] [review] Add PKGDATADIR to default search path 2005-03-18 Tollef Fog Heen <tfheen@err.no> * main.c (main): Use add_search_dirs for both the compile-time defined pc_path and the run-time defined PKG_CONFIG_PATH. * pkg.h: Add prototype for add_search_dirs. * pkg.c (add_search_dirs): Add new function which takes a delimiter-separated list as input and add_search_dir's it. (package_init): Remove knowledge about which dirs should be initially added. Moved this to main.c(main) * ChangeLog: Add emacs variables to set the date to this ChangeLog's standard format * Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c * configure.in: Add --with-pc-path to define the default search path for .pc files. (Freedesktop #119, #648) pkgconfig 0.16 has been released and contains a fix for this bug. With the change, does pkg-config actually also search in datadir by default, or was it just made configurable? The default is pc_path="$libdir/$PACKAGE:$datadir/$PACKAGE", so it searches both by default. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.