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

scripts: fix ssl builds on x86_64 #80

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

elopez
Copy link
Contributor

@elopez elopez commented Dec 13, 2023

libssl.a is installed on $PREFIX/lib64/ on x86_64 builds, and the scripts here are not aware of this location. Always use $PREFIX/lib/ to keep things uniform.

libssl.a is installed on `$PREFIX/lib64/` on x86_64 builds, and
the scripts here are not aware of this location. Always use
`$PREFIX/lib/` to keep things uniform.
@elopez elopez marked this pull request as ready for review December 13, 2023 16:04
@jay
Copy link
Member

jay commented Dec 13, 2023

I do the same thing in Ubuntu. It's strange that OpenSSL decided to make lib64 the default even in distros that don't use it. Also I set rpath but use -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' to treat the rpath as a runpath since in-tree builds often need to use LD_LIBRARY_PATH for testing (and that overrides runpath but not rpath).

@@ -37,6 +37,7 @@ pushd ${SRCDIR}

# Build the library.
${ARCH_PROG} ./config --prefix=${INSTALLDIR} \
--libdir=lib \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work with a relative name or should it rather be ${INSTALLDIR}/lib ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bagder bagder merged commit b062150 into curl:master Dec 14, 2023
21 checks passed
bagder added a commit that referenced this pull request Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants