Project

General

Profile

Actions

Emulator Issues #2670

closed

Scons does not honour PKG_CONFIG_PATH

Added by baffo32 almost 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. Move system .pc files to a nonstandard dir such as ~/temppcs/
  2. In dolphin source tree:
    export PKG_CONFIG_PATH=~/temppcs/
    pkg-config --libs x11 # should still work
    scons # fails

Scons fails to find any system libraries via pkg-config.

PKG_CONFIG_PATH is an important environment variable when using pkg-config,
and scons only honours environment variables that are manually exported.
The attached patch does so.

Actions

Also available in: Atom PDF