Opened 6 years ago

Closed 6 years ago

Last modified 5 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:
Cc:

Description

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 autogen.sh run) will fix the issue:

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by spamaps

Attachment: fix-xerces added

comment:1 Changed 6 years ago by spamaps

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

https://launchpad.net/bugs/786790

comment:2 Changed 6 years ago by Even Rouault

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 Changed 5 years ago by Even Rouault

Milestone: 1.7.4

Milestone 1.7.4 deleted

Note: See TracTickets for help on using tickets.