Opened 12 years ago

Closed 8 years ago

#984 closed defect (fixed)

-lpng without -lm causes test compiles to fail

Reported by: bryanh@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

When 'configure' autodetects the PNG library, it adds -lpng to all subsequent test compile/links, but doesn't add -lm, which libpng requires. This makes all test compile/links fail (unresolved reference to pow() from libpng), making 'configure' believe whatever feature it was testing for is not present.

The test link to detect libpng itself does include the -lm, as does the production link of 'mplayer'.

Change History (1)

comment:1 Changed 8 years ago by diego@…

  • rep_platform changed from PC (x86 with MMX) to All
  • Resolution set to fixed
  • Status changed from new to closed

Should hopefully be fixed in revision 33885.

Note: See TracTickets for help on using tickets.