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

cmake: Use fixed SOVERSION everywhere #11345

Merged
merged 1 commit into from
Oct 5, 2024

Conversation

kkartaltepe
Copy link
Collaborator

Description

We missed a spot when freezing the SOVERSION to 30 after we flipped to 31 causing builds to break.

Also use a variable which maybe makes it slightly easier to avoid in the future.

Motivation and Context

Believe it or not, sometimes we do want to build on linux.

How Has This Been Tested?

Replicated CI issue and Works on my machine (tm).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@WizardCM WizardCM added the Bug Fix Non-breaking change which fixes an issue label Oct 5, 2024
@WizardCM WizardCM added this to the OBS Studio 31 milestone Oct 5, 2024
cmake/linux/helpers.cmake Outdated Show resolved Hide resolved
@RytoEX RytoEX requested a review from PatTheMav October 5, 2024 03:38
Copy link
Collaborator

@tytan652 tytan652 left a comment

Choose a reason for hiding this comment

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

I forgot to froze the version in the symlink command to create 0 from 30 and not from major.

I purposefully avoided to use a variable and used a fixed value, since set_target_properties_obs will need some rework to support version arguments. (Not worth to bike-shed over that)

@WizardCM WizardCM added the Linux Affects Linux label Oct 5, 2024
We missed a spot when freezing the SOVERSION to 30 after we flipped to
31 causing builds to break.
Copy link
Contributor

@Conan-Kudo Conan-Kudo left a comment

Choose a reason for hiding this comment

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

This fixed the build for me in Fedora, thanks! 👍🏾

@Lain-B Lain-B merged commit cc36ccd into obsproject:master Oct 5, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Fix Non-breaking change which fixes an issue Linux Affects Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants