Opened 5 years ago

Closed 5 years ago

Last modified 4 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 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by spamaps

comment:1 Changed 5 years ago by spamaps

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

comment:2 Changed 5 years ago by rouault

  • Component changed from default to ConfigBuild
  • Milestone set to 1.7.4
  • Resolution set to fixed
  • Status changed from new to closed

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

comment:3 Changed 4 years ago by rouault

  • Milestone 1.7.4 deleted

Milestone 1.7.4 deleted

Note: See TracTickets for help on using tickets.