Skip to content

OpenAMP apps -static versions do not link to libmetal statically (LInux userspace) #547

Open
@wmamills

Description

@wmamills

When building the Linux user space apps (-DWITH_APPS=ON ) the apps are build in -shared and -static versions.
The shared versions links against the .so files of both open-amp and libmetal.

The -static version uses the static library for open-amp but still links to the shared library of libmetal.

Thus the user needs to install the libraries to the system directories or use LD_LIBRARY_PATH to run either type of app.
Surly the point of having the -static version is to make the apps easier to run and debug.

The cmake file should be updated to allow libmetal to be statically linked as well.
This may make the open-amp make a touch messier but it seems worth it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions