Add to sub dirs checked for pkg-config files.
This lets me build against the pure-include package Eigen.
This commit is contained in:
		| @@ -175,8 +175,8 @@ def set_build_environment_variables(pkg, env): | |||||||
|     # Add any pkgconfig directories to PKG_CONFIG_PATH |     # Add any pkgconfig directories to PKG_CONFIG_PATH | ||||||
|     pkg_config_dirs = [] |     pkg_config_dirs = [] | ||||||
|     for p in dep_prefixes: |     for p in dep_prefixes: | ||||||
|         for libdir in ('lib', 'lib64'): |         for maybe in ('lib', 'lib64', 'share'): | ||||||
|             pcdir = join_path(p, libdir, 'pkgconfig') |             pcdir = join_path(p, maybe, 'pkgconfig') | ||||||
|             if os.path.isdir(pcdir): |             if os.path.isdir(pcdir): | ||||||
|                 pkg_config_dirs.append(pcdir) |                 pkg_config_dirs.append(pcdir) | ||||||
|     env.set_path('PKG_CONFIG_PATH', pkg_config_dirs) |     env.set_path('PKG_CONFIG_PATH', pkg_config_dirs) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Brett Viren
					Brett Viren