Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#4195 closed defect (fixed)

xerces support not added when linker is set to --as-needed

Reported by: spamaps Owned by: warmerdam
Priority: normal Milestone:
Component: ConfigBuild Version: 1.7.3
Severity: normal Keywords:


Ubuntu Oneiric (soon to be Ubuntu 11.10) enables --as-needed by default. When this is done, the m4 code in m4/ax_xerces.m4 cannot link its test program because it uses LDFLAGS instead of LIBS.

The attached patch (combined with a fresh run) will fix the issue:

Attachments (1)

fix-xerces (942 bytes ) - added by spamaps 11 years ago.

Download all attachments as: .zip

Change History (4)

by spamaps, 11 years ago

Attachment: fix-xerces added

comment:1 by spamaps, 11 years ago

Forgot to mention, this was originally reported in this bug in Ubuntu:

comment:2 by Even Rouault, 11 years ago

Component: defaultConfigBuild
Milestone: 1.7.4
Resolution: fixed
Status: newclosed

Fixed in trunk (r22946), 1.8 branch (r22947) and 1.7 branch (r22948)

comment:3 by Even Rouault, 9 years ago

Milestone: 1.7.4

Milestone 1.7.4 deleted

Note: See TracTickets for help on using tickets.