Install import libraries used to link to libpq, ecpg and the backend.
authorMagnus Hagander <magnus@hagander.net>
Tue, 27 Mar 2007 21:47:10 +0000 (21:47 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 27 Mar 2007 21:47:10 +0000 (21:47 +0000)
src/tools/msvc/Install.pm

index 5d3ffeda70af20b2ad5af781449c92796c8ec3e1..b0baa8e953a392090b94cbba3d932ed0c0691cf8 100644 (file)
@@ -43,6 +43,11 @@ sub Install
     CopySolutionOutput($conf, $target);
     copy($target . '/lib/libpq.dll', $target . '/bin/libpq.dll');
     CopySetOfFiles('config files', "*.sample", $target . '/share/');
+    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(
         'timezone sets',