On Wed, Apr 04, 2007 at 06:51:05PM +0400, Andrey Chernov wrote:
> Comparing generated Makefile with FreeBSD 6 it seems some ld flags 
> are now missing:
> 
> < LDFLAGS_SHLIB_EXPORT=
> ---
> > LDFLAGS_SHLIB_EXPORT=-Wl,-E
> 
> I'll come back with detailed results later.

Found. It is old objformat problem.

            OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || 
echo
aout`
            if [ "x$OBJFORMAT" = "xelf" ]; then
                LDFLAGS_SHLIB_EXPORT="-Wl,-E"
                SHLIB_SUFFIX_DEPTH=0
            else
                LDFLAGS_SHLIB_EXPORT=""
                SHLIB_SUFFIX_DEPTH=2
            fi

Sorry for the noise.


-- 
http://ache.pp.ru/

Attachment: pgp951LIlAL1K.pgp
Description: PGP signature

Reply via email to