apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Marr <gr...@alum.wpi.edu>
Subject Re: Is --enable-utf8 working everywhere?
Date Wed, 17 Jul 2002 13:22:12 GMT
At 11:42 PM 07/16/2002, Brane wrote:
>The problem is that you can't teach the .dsp files to conditionally 
>link with a library. The only way to simulate conditional linking is 
>to provide a dummy library if the real one isn't available.

That's not quite true.  You can do conditional linking using:

#if SOME_CONDITION
#pragma comment(lib, "libname.lib")
#endif

inside a source file in the project instead of putting the lib in the 
.dsp.  I'm not 100% sure that this would work in this particular case.

-- 
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"


Mime
View raw message