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

alsa: do not link with lasound in the PA_ALSA_DYNAMIC case #834

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

jcelerier
Copy link
Contributor

@jcelerier jcelerier commented Sep 6, 2023

it kinda defeats the point of the option (making binaries that will still run on systems without libasound.so.2)

@RossBencina
Copy link
Collaborator

LGTM but I'm not competent to sign off on a CMake change. @Be-ing ?

If anyone with CMake chops could comment that would be a great help.

@dmitrykos
Copy link
Collaborator

If anyone with CMake chops could comment that would be a great help.

@RossBencina the change looks correct and can be safely merged. When PA_ALSA_DYNAMIC is ON the libasound should not be linked to the binary and @jcelerier is right about it. In the past in 9c4c92f I added dynamic loading possibility for Linux driver just for this reason.

@dmitrykos dmitrykos added build-cmake CMake build system linux Affects Linux labels Oct 31, 2023
@RossBencina RossBencina merged commit 0451480 into PortAudio:master Dec 22, 2023
11 checks passed
@jcelerier jcelerier deleted the patch-7 branch December 23, 2023 15:44
@jcelerier
Copy link
Contributor Author

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-cmake CMake build system linux Affects Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants