Skip to content

Include libbinaryninjacore.so symlink in linux package #959

@smackysnacks

Description

@smackysnacks

According to CMake's documentation for the find_library function:

Each library name given to the NAMES option is first considered as a library file name and then considered with platform-specific prefixes (e.g. lib) and suffixes (e.g. .so). Therefore one may specify library file names such as libfoo.a directly. This can be used to locate static libraries on UNIX-like systems.

Including a libbinaryninjacore.so -> libbinaryninjacore.so.1 symlink in the linux release lets us write

find_library(BINJA_CORE_LIBRARY binaryninjacore
    HINTS ${BINJA_BIN_DIR}
)

without resorting to more complicated build logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: InstallationIssue needs changes to how we install the productEffort: LowIssue should take < 1 weekImpact: LowIssue is a papercut or has a good, supported workaround

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions