Skip to content

cmake: don't use --version-script on static libraries#966

Closed
robUx4 wants to merge 1 commit intomadler:developfrom
robUx4:static_version_script
Closed

cmake: don't use --version-script on static libraries#966
robUx4 wants to merge 1 commit intomadler:developfrom
robUx4:static_version_script

Conversation

@robUx4
Copy link
Copy Markdown

@robUx4 robUx4 commented Apr 15, 2024

According to the documentation [1] it's only useful for shared libraries. With recent Android NDK this leads to linking issues with gz_intmax similar to #856. In autotools it's only set with LDSHARED.

[1]https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html

According to the documentation [1] it's only useful for shared libraries.
With recent Android NDK this leads to linking issues with gz_intmax similar to madler#856.
In autotools it's only set with LDSHARED.

[1]https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html
@Neustradamus
Copy link
Copy Markdown

@madler: Have you seen this PR?

@Neustradamus Neustradamus mentioned this pull request Nov 11, 2024
@Vollstrecker Vollstrecker mentioned this pull request Dec 11, 2024
@madler
Copy link
Copy Markdown
Owner

madler commented Feb 2, 2025

See #1027 .

@madler madler closed this Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants