Opened 13 years ago

Closed 13 years ago

Last modified 11 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 13 years ago.

Download all attachments as: .zip

Change History (4)

by spamaps, 13 years ago

Attachment: fix-xerces added

comment:1 by spamaps, 13 years ago

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

https://launchpad.net/bugs/786790

comment:2 by Even Rouault, 13 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, 11 years ago

Milestone: 1.7.4

Milestone 1.7.4 deleted

Note: See TracTickets for help on using tickets.