mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 08:15:50 +03:00
[PR #1594] [MERGED] Fix cross compilation (add required TLS backend selection) #1447
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#1447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/librespot-org/librespot/pull/1594
Author: @starypatyk
Created: 9/21/2025
Status: ✅ Merged
Merged: 9/22/2025
Merged by: @roderickvd
Base:
dev← Head:fix_cross_compile📝 Commits (1)
7e1c321Fix cross compilation (add required TLS backend selection)📊 Changes
3 files changed (+9 additions, -9 deletions)
View changed files
📝
contrib/Dockerfile(+4 -4)📝
contrib/cross-compile-armv6hf/docker-build.sh(+1 -1)📝
contrib/docker-build.sh(+4 -4)📄 Description
After recent changes the TLS back-end must be explicitly selected when
--no-default-featuresflag is used.The provided cross-compilation scripts were not updated accordingly and the cross build failed as described in #1573.
In this PR I propose to cross build with
rustls-tls-native-roots.With these changes in place, I have been able to build all available targets. I have verified that the following targets run successfully:
x86_64(PC),aarch64(RPi 3),armhf(RPi 3) andarmv6hf(RPi 1). Thearmeltarget built OK, but I have not been able to verify it.The selection of features used in these scripts (audio, mDNS , TLS) depends on the use case, but I think it is better to have at least a single set that is known to work.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.