| Summary: |
cairo: cannot find the library `/path/to/sysroots/x86_64-linux/usr/lib/libpng15.la' |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Robert Yang <liezhi.yang> |
| Component: |
graphics | Assignee: |
Robert Yang <liezhi.yang> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
meta.mr.watcher, meta.watcher, ross.burton, sgw
|
| Version: |
1.4 | |
|
| Target Milestone: |
Future | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
This because libpng was 1.5 before I update the git repo, and it is 1.6 now, libpng's include dir and lib are special, the are: /usr/include/libpngXX/png.h /usr/lib/libpngXX.la The cairo doesn't handle this depends well, the configure finds that the lbpng is 1.6 now, but it doesn't rebuild libcairo.la since this depends isn't in the Makefile, it should have a file like cairo.def (cairo has this file, but it is only used for windows) to record this dependencies. We add libpng's includedir to EXTRA_libcairo_la_DEPENDENCIES as a quick fix.