fixed pkgconfig issue

This commit is contained in:
Gregory Becker 2016-05-13 14:39:20 -07:00
parent 4c9dd028d2
commit f43cab0951

View File

@ -232,7 +232,7 @@ def add_env_path(path):
pcdir = join_path(p, libdir, 'pkgconfig')
if os.path.isdir(pcdir):
pkg_config_dirs.append(pcdir)
path_set("PKG_CONFIG_PATH", pkg_config_dirs)
path_put_first("PKG_CONFIG_PATH", pkg_config_dirs)
if pkg.spec.architecture.target.module_name:
load_module(pkg.spec.architecture.target.module_name)