Re: [bug fix or improvement?] Correctly place DLLs for ECPG apps in bin folder
От | Asif Naeem |
---|---|
Тема | Re: [bug fix or improvement?] Correctly place DLLs for ECPG apps in bin folder |
Дата | |
Msg-id | CAEB4t-OaX-CFoy5ka2TZ9t47usdZYtsrafB7nBCXLNv9J+buNw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [bug fix or improvement?] Correctly place DLLs for ECPG apps in bin folder ("MauMau" <maumau307@gmail.com>) |
Ответы |
Re: [bug fix or improvement?] Correctly place DLLs for
ECPG apps in bin folder
|
Список | pgsql-hackers |
Yes. Can you please take a look at Win_lib_bin.patch I shared earlier ?, I think it is or similar approach will be appropriate. Thanks.
Regards,
Muhammad Asif Naeem
On Tue, Jul 8, 2014 at 5:53 PM, MauMau <maumau307@gmail.com> wrote:
From: "Asif Naeem" <anaeem.it@gmail.com>Thanks for reviewing. I understood that your previous comment was to suggest copying the desired DLLs directly from Release/Debug folder to bin. But I'm afraid it cannot be done cleanly... CopySolutionOutput() copies all DLLS to lib folder with no exception as follows:Other than my pervious comments, patch looks good to me. Thanks.
if ($1 == 1)
{
$dir = "bin";
$ext = "exe";
}
elsif ($1 == 2)
{
$dir = "lib";
$ext = "dll";
}
It seems like I have to do something like this, listing the relevant DLL names anyway. I don't think this is not cleaner.
if ($1 == 1)
{
$dir = "bin";
$ext = "exe";
}
elsif ($1 == 2 && /* the project is libpq, libecpg, etc. */)
{
$dir = "bin";
$ext = "dll";
}
elsif ($1 == 2)
{
$dir = "lib";
$ext = "dll";
}
What do you think? Am I misunderstanding your suggestion?
Regards
MauMau
В списке pgsql-hackers по дате отправления: