summaryrefslogtreecommitdiff
path: root/python/builder.go
diff options
context:
space:
mode:
Diffstat (limited to 'python/builder.go')
-rw-r--r--python/builder.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/builder.go b/python/builder.go
index 106649398..2553a7714 100644
--- a/python/builder.go
+++ b/python/builder.go
@@ -73,14 +73,14 @@ var (
precompile = pctx.AndroidStaticRule("precompilePython", blueprint.RuleParams{
Command: `LD_LIBRARY_PATH="$ldLibraryPath" ` +
- `PYTHONPATH=$stdlibZip/internal/stdlib ` +
+ `PYTHONPATH=$stdlibZip/internal/$stdlibPkg ` +
`$launcher build/soong/python/scripts/precompile_python.py $in $out`,
CommandDeps: []string{
"$stdlibZip",
"$launcher",
"build/soong/python/scripts/precompile_python.py",
},
- }, "stdlibZip", "launcher", "ldLibraryPath")
+ }, "stdlibZip", "stdlibPkg", "launcher", "ldLibraryPath")
)
func init() {