mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Properly install dynloader.h on MSVC builds
This will enable PL/Java to be cleanly compiled, as dynloader.h is a requirement. Report by Chapman Flack Patch by Michael Paquier Backpatch through 9.1
This commit is contained in:
@ -301,6 +301,14 @@ s{PG_VERSION_STR "[^"]+"}{__STRINGIFY(x) #x\n#define __STRINGIFY2(z) __STRINGIFY
|
||||
'src/include/storage/lwlocknames.h');
|
||||
}
|
||||
|
||||
if (IsNewer(
|
||||
'src/include/dynloader.h',
|
||||
'src/backend/port/dynloader/win32.h'))
|
||||
{
|
||||
copyFile('src/backend/port/dynloader/win32.h',
|
||||
'src/include/dynloader.h');
|
||||
}
|
||||
|
||||
if (IsNewer('src/include/utils/probes.h', 'src/backend/utils/probes.d'))
|
||||
{
|
||||
print "Generating probes.h...\n";
|
||||
|
Reference in New Issue
Block a user