Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jul 2005 12:04:07 +0800
From:      Jiawei Ye <leafy7382@gmail.com>
To:        java <freebsd-java@freebsd.org>
Subject:   www/resin3 with OS_VERSION>=5
Message-ID:  <c21e92e205070721047c8b2d03@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Dear All,

www/resin3 has a configure script that hardcodes threading library to -lc_r

  *freebsd*)
        PROXY_LIBS=3D'-lc_r'
        jni_os=3Dfreebsd
        ;;

While this works with 5 and up with a libmap.conf entry, I think this
is not a clean solution. Substituting -lc_r with -pthread does not
work since ld does not understand -pthread. I have hand-edited it to
PROXY_LIBS=3D'-lpthread' and it compiles and runs. Should we change it
something that detects OS_VERSION?

Regards,

Jiawei Ye

--=20
"Without the userland, the kernel is useless."
               --inspired by The Tao of Programming



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e205070721047c8b2d03>