lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, 27 Dec 2003 11:27:44 -0500
Thatcher Ulrich <tu@tulrich.com> wrote:

> Also, the patch includes a small fix, via luacheia, for compiling the
> dlopen code on OpenBSD.
...
> ----
> 2c2
> < ** $Id: loadlib.c,v 1.1 2003/07/18 05:35:37 tulrich Exp $
> ---
> > ** $Id: loadlib.c,v 1.2 2003/12/27 16:21:51 tulrich Exp $
> 47a48,52
> > /* OpenBSD apparently doesn't define RTLD_NOW */
> > # ifndef RTLD_NOW
> > #  define RTLD_NOW RTLD_LAZY
> > # endif

As of OpenBSD 3.4 (November 2003) this one is unnecessary.  (So is
prefixing underscores to dynamic library routines, a topic dealt with
on the luacheia list.)  I haven't had any trouble with shared libs on
OpenBSD since I upgraded; I don't have to tweak the Lua source at all
to work with them; it was never Lua's problem anyway; I apologize for
not saying so sooner.

Steve