[Fedora-directory-devel] Please review: Bug 229286: Solaris build: link shared libs correctly with libtool

Richard Megginson rmeggins at redhat.com
Mon Feb 19 23:09:12 UTC 2007


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=229286
Resolves: bug 229286
Bug Description: Solaris build: link shared libs correctly with libtool
Reviewed by: ???
Files: see diff
Branch: HEAD
Fix Description: We have to use the $(CXXLINK) Makefile macro to build 
shared libs that use C++ code or link with C++ libs.  In addition, Sun 
C++ link needs -lCstd and -lCrun.  I added AC_DISABLE_STATIC so that we 
wouldn't generate all the .a libs we don't use.  Lastly, but not 
leastly, libtool on rhel/fedora has a "feature" that adds several 
gcc-isms to the libtool script generated by configure.  At best, these 
cause builds with non-gcc compilers to complain quite a bit, and at 
worst, cause the build to fail.  I've added a sed command in configure 
to remove these gcc-isms from libtool on non-gcc platforms.
Platforms tested: RHEL4, FC6, Solaris 9
Flag Day: no
Doc impact: no
https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=148375&action=diff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070219/6269966e/attachment.bin>


More information about the Fedora-directory-devel mailing list