#44 Missing dependency on libm and libz

open
None
5
2010-11-06
2004-08-23
Anonymous
No

clock (at) twibright . com
libpng-1.2.6
libpng12.so has missing dependency on libz and libm.
I am not sure but think they should be there.
These dependencies can be printed out by objdump -p
libpng12.so.

Example patch for makefile.gcmmx:

128c128
< $(CC) -shared
-Wl,-soname,$(LIBNAME).so.$(PNGMAJ),-lz,-lm \
---
> $(CC) -shared
-Wl,-soname,$(LIBNAME).so.$(PNGMAJ) \

Discussion

  • Logged In: YES
    user_id=7859

    Plan is to add these dependencies in libpng-1.2.8 or 1.3.0,
    whichever comes first, as a part of a major overhaul of
    the 15 shared-lib makefiles.

     
  • Mike Frysinger
    Mike Frysinger
    2007-11-21

    Logged In: YES
    user_id=114429
    Originator: NO

    things get overhauled yet ? the .pc file needs tweakin as well ...

     
    • assigned_to: nobody --> glennrp