[prev in list] [next in list] [prev in thread] [next in thread]
List: openpkg-dev
Subject: Re: Ruby build patch Tru64-only
From: "Ralf S. Engelschall" <rse () openpkg ! org>
Date: 2005-03-17 12:07:45
Message-ID: 20050317120745.GA54738 () engelschall ! com
[Download RAW message or body]
On Thu, Mar 17, 2005, Karl Vogel wrote:
> Ruby uses the linker (ld) directly. Default behaviour on Tru64 is
> to prefer shared libs before static libs. Using -oldstyle_liblookup
> reverses this behaviour.
>
> This is similar to the GCC fix, which causes a link with 'gcc -o xxx'
> to call the ld linker with this flag.
>
>
> $ diff -u configure~ configure
> --- configure~ 2005-03-17 12:07:34 +0100
> +++ configure 2005-03-17 12:08:44 +0100
> @@ -13991,7 +13991,7 @@
> rb_cv_dlopen=yes ;;
> esix*|uxpds*) : ${LDSHARED="ld -G"}
> rb_cv_dlopen=yes ;;
> - osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\""}
> + osf*) : ${LDSHARED="ld -shared -expect_unresolved \"*\"
> -oldstyle_liblookup"}
> rb_cv_dlopen=yes ;;
> bsdi3*) case "$CC" in
> *shlicc*) : ${LDSHARED="$CC -r"}
Ok, applied now. Thanks, Karl.
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
Developer Communication List openpkg-dev@openpkg.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic