Change attribute to match ArchSpec refactor (#2579)

Fixes issue #2578
This commit is contained in:
Mario Melara 2016-12-13 13:58:03 -08:00 committed by becker33
parent 392ed4f0cc
commit 01230a62d4

View file

@ -340,7 +340,7 @@ def set_build_environment_variables(pkg, env, dirty=False):
env.prepend_path('PKG_CONFIG_PATH', pcdir)
if pkg.architecture.target.module_name:
load_module(pkg.spec.architecture.target.module_name)
load_module(pkg.architecture.target.module_name)
return env