aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/dynloader/linux.c
diff options
context:
space:
mode:
authorAndrew Gierth <rhodiumtoad@postgresql.org>2018-09-05 22:01:21 +0100
committerAndrew Gierth <rhodiumtoad@postgresql.org>2018-09-05 22:01:21 +0100
commitbe54b3777ff189e79661d8746d3f25b0564393d2 (patch)
treef3d21eaf21b42c9b0050ed0df71cc48ea8862ae9 /src/backend/port/dynloader/linux.c
parent54b01b9293830d82d5b6c827771c683ff52ffb0b (diff)
downloadpostgresql-be54b3777ff189e79661d8746d3f25b0564393d2.tar.gz
postgresql-be54b3777ff189e79661d8746d3f25b0564393d2.zip
Allow extensions to install built as well as unbuilt headers.
Commit df163230b overlooked the case that an out-of-tree extension might need to build its header files (e.g. via ./configure). If it is also doing a VPATH build, the HEADERS_* rules in the original commit would then fail to find the files, since they would be looking only under $(srcdir) and not in the build directory. Fix by adding HEADERS_built and HEADERS_built_$(MODULE) which behave like DATA_built in that they look in the build dir rather than the source dir (and also make the files dependencies of the "all" target). No Windows support appears to be needed for this, since it is only relevant to out-of-tree builds (no support exists in Mkvcbuild.pm to build extension header files in any case).
Diffstat (limited to 'src/backend/port/dynloader/linux.c')
0 files changed, 0 insertions, 0 deletions