gluonhq / gluonfx-maven-plugin

Plugin that simplifies creating native images for Java/JavaFX maven projects
BSD 3-Clause "New" or "Revised" License
186 stars 38 forks source link

Unable to pass linker arguments that contain a comma #501

Open sg4e opened 5 months ago

sg4e commented 5 months ago

To reproduce:

  1. Add the following to the plugin configuration:
    <verbose>true</verbose>
    <linkerArgs>-Wl,--unresolved-symbols=ignore-all</linkerArgs>
  2. Run mvnw gluonfx:link
  3. Observe the verbose output starting with [FINE] PB Command for link: gcc
  4. Notice at the end of the command is -Wl --unresolved-symbols=ignore-all, in which the comma has been replace by a space and the argument is broken.