diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
| -rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 98277f74c9..f2c671b0f5 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
| @@ -60,7 +60,9 @@ class RecipeHandler(object): | |||
| 60 | if RecipeHandler.recipelibmap: | 60 | if RecipeHandler.recipelibmap: |
| 61 | return | 61 | return |
| 62 | # First build up library->package mapping | 62 | # First build up library->package mapping |
| 63 | shlib_providers = oe.package.read_shlib_providers(d) | 63 | d2 = bb.data.createCopy(d) |
| 64 | d2.setVar("WORKDIR_PKGDATA", "${PKGDATA_DIR}") | ||
| 65 | shlib_providers = oe.package.read_shlib_providers(d2) | ||
| 64 | libdir = d.getVar('libdir') | 66 | libdir = d.getVar('libdir') |
| 65 | base_libdir = d.getVar('base_libdir') | 67 | base_libdir = d.getVar('base_libdir') |
| 66 | libpaths = list(set([base_libdir, libdir])) | 68 | libpaths = list(set([base_libdir, libdir])) |
