Jeroen T. Vermeulen wrote:
> On Wed, May 31, 2006 22:26, Bart Samwel wrote:
>
>> Jeroen, it turns out that the win32 makefiles in 2.6.6 have the
>> templates expanded for only one entry -- libpqxx.cxx. The python
>> templating stuff works fine on my python install, so could you check if
>> it's caused by a platform dependency or something?
>
> I think I see it--the vc-libpqxx.mak template had backslashes instead of
> regular slashes as directory separators in some of the "foreach" globs!
>
> Assuming that regular slashes will also work under Windows, all that needs
> to be done is to replace those. If not, then we'll need a "re.sub('/',
> os.sep, pattern)" in the obvious place.
I've tried it, and it turns out that slashes work under Windows, in
Python as well as for NMAKE and the compiler, so you can just replace
them in the templates.
Cheers,
Bart
_______________________________________________
Libpqxx-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/libpqxx-general