Task #2178
closed
Set PKG_CONFIG_PATH in wscript
Added by Junxiao Shi about 10 years ago.
Updated almost 10 years ago.
Description
In wscript, set PKG_CONFIG_PATH
to include:
- /opt/local/lib/pkgconfig
- /usr/lib64/pkgconfig
so that export PKG_CONFIG_PATH=...
command is not needed during ./waf configure
on OSX and Fedora.
This Task includes deleting the relevant steps from INSTALL documentation.
- Start date deleted (
11/13/2014)
- Estimated time changed from 0.50 h to 1.00 h
On which platform /usr/lib64/pkgconfig is needed?
Never mind my comment. I just saw the example in the documentation.
- Status changed from New to Code review
- Assignee set to Alex Afanasyev
- % Done changed from 0 to 100
20141128 conference call decides:
- "waf-tool for ndn-cxx detection" shouldn't be created, because pkg-config is supposed to be the universal method for package detection
- pkg-config considers
PKG_CONFIG_PATH
first, then default paths; thus, only custom paths need to be injected to the environment
- the environment shouldn't be restored after detecting ndn-cxx, because other pkg-config command may also need them
- Status changed from Code review to Closed
- Related to Bug #5042: Injecting PKG_CONFIG_PATH in os.environ doesn't work added
Also available in: Atom
PDF