[Openamp-rp] [OpenAMP/openamp-system-reference] a628dd: legacy_apps: Fix rpc demo dynamic library build