-
Notifications
You must be signed in to change notification settings - Fork 29.4k
Open
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
git clone https://gitlab.com/aduskett/buildroot-flutter.git
cd buildroot-flutter
make flutter_aarch64_defconfig
rm package/flutter-engine/0004-pkg-config.py-do-not-prepend-sysroot-path.patch
make -Otarget -j$(nproc) flutter-engine-depends
make flutter-engine
Actual results
Buildroot uses the standard PKG_CONFIG_SYSROOT_DIR variable, so what the pkg-config.py script is doing doesn't make sense. There is no need to prepend the sysroot, and flutter should let pkg-config use the PKG_CONFIG_SYSROOT_DIR variable.
Without the patch, the pkg-config.py script double prepends the sysroot path.
IE: output/host/.../sysroot/output/host/.../sysroot
Logs
Logs
<!-- Paste your logs here -->
Flutter Doctor output
Doctor output
<!-- Paste your output here -->
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.team-engineOwned by Engine teamOwned by Engine teamtriaged-engineTriaged by Engine teamTriaged by Engine team