dlopen libncurses.so in wineconsole (take 3)

Eric Pouech pouech-eric at wanadoo.fr
Sat Aug 16 13:34:17 CDT 2003

Dimitrie O. Paun wrote:
> On August 14, 2003 10:00 pm, Mike McCormack wrote:
>>+#ifdef HAVE_NCURSES_H
>>+    char *ncname = SONAME_LIBNCURSES;
>>+    char *ncname = SONAME_LIBCURSES;
> Since we're doing this dynamically, shouldn't we also determine at
> runtime if we should use ncurses or curses? It would make a lot more
> sense, as we typically compile on one box, and run on another...
it would be great, but that may be hard to do.
some (n)curses functions are implemented as macros (and you don't know 
for sure which). So, a strong rule to be sure everything works correctly 
is to run with the curses package that the one you compiled with...

Eric Pouech

More information about the wine-devel mailing list