Add PG_BIN to the parameters of platformbuild.vcxproj.
authorHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 10 Sep 2016 11:59:16 +0000 (20:59 +0900)
committerHiroshi Inoue <h-inoue@dream.email.ne.jp>
Sat, 10 Sep 2016 12:02:14 +0000 (21:02 +0900)
winbuild/BuildAll.ps1

index 23ba92cae8169808d15f5664bc87008f7bc16c27..5af06861ef39eaf86d40bbaa0f45539e804fd7cc 100755 (executable)
@@ -76,11 +76,12 @@ function buildPlatform($configInfo, $Platform)
    $BUILD_MACROS=$platinfo.build_macros
    $PG_INC=getPGDir $configInfo $Platform "include"
    $PG_LIB=getPGDir $configInfo $Platform "lib"
+   $PG_BIN=getPGDir $configInfo $Platform "bin"
 
    Write-Host "USE LIBPQ  : ($PG_INC $PG_LIB)"
 
    $MACROS=@"
-/p:PG_LIB="$PG_LIB" /p:PG_INC="$PG_INC"
+/p:PG_LIB="$PG_LIB" /p:PG_INC="$PG_INC" /p:PG_BIN="$PG_BIN"
 "@
    if ($BUILD_MACROS -ne "") {
        $BUILD_MACROS = $BUILD_MACROS -replace ';', '`;'