Thread: Fix for MSVC lib installation

Fix for MSVC lib installation

From
Dave Page
Date:
The attached patch installs libpgport.lib under MSVC, and corrects a
typo in a message.

Regards, Dave
Index: Install.pm
===================================================================
RCS file: /projects/cvsroot/pgsql/src/tools/msvc/Install.pm,v
retrieving revision 1.12
diff -c -r1.12 Install.pm
*** Install.pm    23 Apr 2007 17:18:58 -0000    1.12
--- Install.pm    25 Apr 2007 14:10:59 -0000
***************
*** 46,52 ****
      CopyFiles(
          'Import libraries',
          $target .'/lib/',
!         "$conf\\", "postgres\\postgres.lib","libpq\\libpq.lib", "libecpg\\libecpg.lib"
      );
      CopySetOfFiles('timezone names', 'src\timezone\tznames\*.txt',$target . '/share/timezonesets/');
      CopyFiles(
--- 46,52 ----
      CopyFiles(
          'Import libraries',
          $target .'/lib/',
!         "$conf\\", "postgres\\postgres.lib","libpq\\libpq.lib", "libecpg\\libecpg.lib", "libpgport\\libpgport.lib"
      );
      CopySetOfFiles('timezone names', 'src\timezone\tznames\*.txt',$target . '/share/timezonesets/');
      CopyFiles(
***************
*** 265,271 ****
              foreach my $f (split /\s+/,$flist)
              {
                  copy('contrib/' . $d . '/' . $f, $target . '/doc/contrib/' . $f)
!                   || croak("Coud not copy file $f in contrib $d");
                  print '.';
              }
          }
--- 265,271 ----
              foreach my $f (split /\s+/,$flist)
              {
                  copy('contrib/' . $d . '/' . $f, $target . '/doc/contrib/' . $f)
!                   || croak("Could not copy file $f in contrib $d");
                  print '.';
              }
          }

Re: Fix for MSVC lib installation

From
Magnus Hagander
Date:
On Wed, Apr 25, 2007 at 03:35:55PM +0100, Dave Page wrote:
> The attached patch installs libpgport.lib under MSVC, and corrects a
> typo in a message.

Applied, thanks.

//Magnus