Repository navigation
Conversation
vszakats
marked this pull request as draft
May 8, 2024 20:20
Member
Author
|
/cc @MichaelBuckley |
vszakats
marked this pull request as ready for review
May 8, 2024 20:34
LDFLAGS for each detected dependency
Contributor
|
That works, and is much cleaner. Nice. |
MichaelBuckley
self-requested a review
May 8, 2024 21:20
MichaelBuckley
approved these changes
May 8, 2024
agreppin
pushed a commit
to agreppin/libssh2
that referenced
this pull request
Jul 14, 2024
autotools lib detection routine failed to extend LDFLAGS for each detection. This could cause successful detection of a dependency, but later failing to use it. This did not cause an issue as long as all dependencies lived under the same prefix, but started breaking on macOS ARM + Homebrew where this was no longer true for mbedTLS and zlib in particular. Follow-up to 8441153 libssh2#1381 Follow-up to ae2770d libssh2#1377 Closes libssh2#1384
vszakats
added a commit
to vszakats/libssh2
that referenced
this pull request
Jan 2, 2025
``` $ ../configure --with-openssl --without-libssl-prefix [...] ../libtool: line 7756: cd: no/lib: No such file or directory libtool: error: cannot determine absolute directory name of 'no/lib' make[2]: *** [libssh2.la] Error 1 ``` Regression from d19b619 libssh2#1384 Reported-by: Christoph Reiter Fixes libssh2#1505
vszakats
added a commit
that referenced
this pull request
Jan 2, 2025
Do not test the prefix when set to `no`. (as with `--without-lib*-prefix`) Before this patch this test was always made and when detected despite the wrong prefix, the `no` prefix remained in `LDFLAGS` causing a build failure later in `libtool`. Fixes: ``` $ ../configure --without-libssl-prefix [...] ../libtool: line 7756: cd: no/lib: No such file or directory libtool: error: cannot determine absolute directory name of 'no/lib' make[2]: *** [libssh2.la] Error 1 ``` Follow-up to d19b619 #1384 Reported-by: Christoph Reiter Fixes #1505 Closes #1506
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
autotools lib detection routine failed to extend LDFLAGS for each
detection. This could cause successful detection of a dependency, but
later failing to use it. This did not cause an issue as long as all
dependencies lived under the same prefix, but started breaking on macOS
ARM + Homebrew where this was no longer true for mbedTLS and zlib in
particular.
Follow-up to 8441153 #1381
Follow-up to ae2770d #1377
Closes #1384