libpq: Avoid broken symlinks in include/catalog #25355
Open
+13
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Changes to recipe: libpq/[*]
Motivation
See #24895
Details
To avoid broken symlinks, do out of source build.
Change
build()
andpackage()
method to do out of source build.Copy the backend catalog from the source tree.
Note: the
MSVC
part is ignored in this PR.I ran the tests for some configurations:
https://gitlab.com/scandyna/conan-center-index-partialbasicci-sandbox/-/pipelines/1463949508
Notes about the Windows builds:
test_v1_package
fails. Probably something missing in my environment (I don't use thecmake
generator anymore)test_package
fails due to undefined references. This is also the case without the changes in this PR (I opened another issue for this case, 25282)