Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=573910

--- Comment #13 from Mario Ceresa <[email protected]> 2010-11-19 18:59:29 EST 
---
Hello Andreas,

Ok I'll step in! In the new srpm to put the soname I remove:

$(library): $(objs)
 $(AR) $(ARFLAGS) $@ $(objs)
 $(RANLIB) $@

 from the Makefile of the libs  and add

$(library): $(objs)
 soname=`basename $...@`.0 ; \
 $(CC) -shared -o [email protected] \
  -Wl,--whole-archive,$<,--no-whole-archive \
  -Wl,--soname,$$soname,-z,-defs $(objs)
 if readelf -d [email protected] | fgrep -q TEXTREL; then exit 1; fi
 mv [email protected] $@ ; ln $@ [email protected]

but the produced libs lacks some symbols and the linking of further files
fails.
Unfortunately my knowledge of autotools is so poor that I don't really know
where to go on from know...

Any ideas?

Mario

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to