Merge lp://staging/~pitti/notify-osd/link-gcc-4.5 into lp://staging/notify-osd/lucid
Status: | Merged |
---|---|
Approved by: | Mirco Müller |
Approved revision: | 428 |
Merged at revision: | 428 |
Proposed branch: | lp://staging/~pitti/notify-osd/link-gcc-4.5 |
Merge into: | lp://staging/notify-osd/lucid |
Diff against target: |
79 lines (+18/-3) 2 files modified
configure.in (+9/-3) tests/Makefile.am (+9/-0) |
To merge this branch: | bzr merge lp://staging/~pitti/notify-osd/link-gcc-4.5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Review via email: mp+45025@code.staging.launchpad.net |
Description of the change
When building current trunk on natty, I get a lot of errors like
CCLD notify-osd
/usr/bin/
/usr/bin/
/usr/lib64/
/usr/bin/
/usr/bin/
/usr/lib64/
CCLD test-modules
/usr/bin/
/usr/bin/
gcc 4.5 with --as-needed has a stricter linking behaviour which requires explicit linking with all necessary libraries. Some programs use direct libX11 or libpixman functions, and thus need to link to them explicitly.
Approved. Thakns for the fix pitti!