Skip to content
Snippets Groups Projects
Commit 7479d74c authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

contrib: fix PKG_CONFIG_PATH environment variable

main.mak adds local pkg-config paths to the env. var. PKG_CONFIG_PATH
after the existing configuration, so local are tested after globals.
This is an issue if globals contains a package outdated for our needs.
The local setting must be first.

Change-Id: I8f9e060f05d4ac662ac5c23b0dbeaea3b67bd401
Tuleap: #783
parent 8ca874d7
Branches
Tags
No related merge requests found
......@@ -65,7 +65,7 @@ else
PKG_CONFIG ?= pkg-config
endif
PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(PREFIX)/lib/pkgconfig:$(PREFIX)/lib/$(HOST)/pkgconfig
PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig:$(PREFIX)/lib/$(HOST)/pkgconfig:$(PKG_CONFIG_PATH)
export PKG_CONFIG_PATH
ifdef HAVE_CROSS_COMPILE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment