Skip to content

To add rpath support (helps with ubuntu18 new rpath behavior)  #7

@mleonori

Description

@mleonori

Hi,

in order to correctly "libmatlogger2-backend-matio.so" library, @alaurenzi suggested to add the rpath to CMakeLists.txt:
From:
target_link_libraries(${LIBRARY_TARGET_NAME} PRIVATE dl -pthread)
To:
target_link_libraries(${LIBRARY_TARGET_NAME} PRIVATE dl -pthread -Wl,-rpath,$ORIGIN)

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions