MSVC build broken - Mailing list pgsql-hackers

From Andrew Dunstan
Subject MSVC build broken
Date
Msg-id 4823B855.7040801@dunslane.net
Whole thread Raw
List pgsql-hackers
The recent xml2 build changes have broken MSVC builds.

The problem is this fragment (that appears twice) from 
src/tools/msvc/Mkvcbuild.pm:
       foreach my $o (split /\s+/, $1)       {           $o =~ s/\.o$/.c/;           $proj->AddFile('contrib\\' . $n .
'\\'. $o);       }
 

which gets applied to this line: (after "OBJS = " has been stripped):

OBJS = $(if $(filter -lxslt, $(LIBS)), xpath.o xslt_proc.o, xpath.o)


Our logic above is far too rough for such lines. I'll try to come up 
with something more robust tomorrow.

cheers

andrew




pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Posting to hackers and patches lists
Next
From: "Guillaume Smet"
Date:
Subject: Re: [PATCHES] [NOVICE] encoding problems