Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autotools: use comma separator in Requires.private of libssh2.pc #1124

Closed

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jul 14, 2023

In Requires*:, the documented name separator is comma. We already used
it in the CMake-generated libssh2.pc. Adjust the autotools-generated
one to use it too, instead of spaces.

Ref: https://linux.die.net/man/1/pkg-config
Ref: https://gitlab.freedesktop.org/pkg-config/pkg-config/-/blob/d97db4fae4c1cd099b506970b285dc2afd818ea2/pkg-config.1

Closes #1124

Spaces also seem to work, but the documented separator is comma,
which was already used by the CMake-generated `libssh2.pc`. Adjust
the autotools-generated one to use commas too.

Ref: https://linux.die.net/man/1/pkg-config
Ref: https://gitlab.freedesktop.org/pkg-config/pkg-config/-/blob/d97db4fae4c1cd099b506970b285dc2afd818ea2/pkg-config.1

Closes libssh2#1124
@vszakats vszakats added the build label Jul 14, 2023
@vszakats vszakats changed the title autotools: use comma separators in Requires.private in libssh2.pc autotools: use comma separators in Requires.private of libssh2.pc Jul 14, 2023
@vszakats vszakats changed the title autotools: use comma separators in Requires.private of libssh2.pc autotools: use comma separator in Requires.private of libssh2.pc Jul 14, 2023
@vszakats vszakats closed this in 7f83de1 Jul 14, 2023
@vszakats vszakats deleted the pc-use-comma-sep-in-requires branch July 14, 2023 21:09
lampmanyao pushed a commit to lampmanyao/libssh2 that referenced this pull request Sep 3, 2023
In `Requires*:`, the documented name separator is comma. We already used
it in the CMake-generated `libssh2.pc`. Adjust the autotools-generated
one to use it too, instead of spaces.

Ref: https://linux.die.net/man/1/pkg-config
Ref: https://gitlab.freedesktop.org/pkg-config/pkg-config/-/blob/d97db4fae4c1cd099b506970b285dc2afd818ea2/pkg-config.1

Closes libssh2#1124
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant