Skip to content

Sunshine should not require Static boost libs for Unix based builds. #434

@GavinDarkglider

Description

@GavinDarkglider

Describe the Bug

Most linux distros dont ship everything as static libs, On gentoo, you specifically have to specify if you want a package to also build static libs. this if statement should be fixed to include unix builds in cmakelists.txt

https://github.com/LizardByte/Sunshine/blob/master/CMakeLists.txt#L71-L73

This should not just be for apple, but unix based builds as well.

Expected Behavior

Being able to build on systems that dont supply boost libs as static libs

Additional Context

Gentoo doesnt seem to build/install static boost libs, if you change this statement, and build against the shared libs, it builds, and runs fine, if you dont, it wont build at all

Host Operating System

Linux

Operating System Version

Gentoo

Architecture

x86_64

Sunshine Version

Master

GPU Type

Intel/Nvidia

GPU Model

Irrelevant

GPU Driver/Mesa Version

Irrelevant

Capture Method (Linux Only)

No response

Relevant log output

Cmake Fails when looking for static boost libs, on unix/linux when shared lib version is installed, with out also having static lib version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions