Subject: re: Circular symlink created when only SHLIB_MAJOR is defined
To: None <tls@rek.tjls.com>
From: matthew green <mrg@eterna.com.au>
List: tech-misc
Date: 01/30/2007 06:52:58
   On Sun, Jan 28, 2007 at 06:59:04AM +0100, Jeremie Le Hen wrote:
   > Hi list,
   > 
   > (Please Cc: in your reply, I'm not subscribed.)
   > 
   > I've already sent this e-mail to tech-toolchain@ but got no answer.
   > I dare to resend it here to reach a larger audience.
   
   The audience dares to point out that a shared library with only a major
   number is not supported.
   
   "Unix gives you enough rope..."


hmmm, our bsd.lib.mk has a fragment that seems to imply that it is supposed
to be supported:

	.if defined(SHLIB_MAJOR) && !empty(SHLIB_MAJOR)
	.if defined(SHLIB_MINOR) && !empty(SHLIB_MINOR)
	.if defined(SHLIB_TEENY) && !empty(SHLIB_TEENY)
	SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}.${SHLIB_TEENY}
	.else
	SHLIB_FULLVERSION=${SHLIB_MAJOR}.${SHLIB_MINOR}
	.endif
	.else
-->	SHLIB_FULLVERSION=${SHLIB_MAJOR}
	.endif
	.endif

either this should be removed or the rest of the makefile fixed.


.mrg.