mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +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:
@@ -582,7 +582,7 @@ sub CopyIncludeFiles
|
||||
'Public headers', $target . '/include/',
|
||||
'src/include/', 'postgres_ext.h',
|
||||
'pg_config.h', 'pg_config_ext.h',
|
||||
'pg_config_os.h', 'pg_config_manual.h');
|
||||
'pg_config_os.h', 'dynloader.h', 'pg_config_manual.h');
|
||||
lcopy('src/include/libpq/libpq-fs.h', $target . '/include/libpq/')
|
||||
|| croak 'Could not copy libpq-fs.h';
|
||||
|
||||
@@ -605,7 +605,8 @@ sub CopyIncludeFiles
|
||||
CopyFiles(
|
||||
'Server headers',
|
||||
$target . '/include/server/',
|
||||
'src/include/', 'pg_config.h', 'pg_config_ext.h', 'pg_config_os.h');
|
||||
'src/include/', 'pg_config.h', 'pg_config_ext.h', 'pg_config_os.h',
|
||||
'dynloader.h');
|
||||
CopyFiles(
|
||||
'Grammar header',
|
||||
$target . '/include/server/parser/',
|
||||
|
Reference in New Issue
Block a user