Skip to content

extractArgumentsForDynamicLinkParamFile causes arguments that start with @rpath to be interpreted as a param file #14316

@brentleyjones

Description

@brentleyjones

Description of the problem / feature request:

While updating rules_apple we couldn't use @rpath arguments as it would result in a build failure. Instead we had to pass the arguments in a different way:

https://github.com/bazelbuild/rules_apple/pull/1207/files#diff-d84498974951b9a579baeeaf19d52ffb0a42a15b520c4359dac92448e2b806ceR670

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

This code needs to be updated to support arguments that start with @rpath:

What operating system are you running Bazel on?

macOS 11.6.1

What's the output of bazel info release?

5.0.0rc2

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