Skip to content

Missing ldflags parameter  #159

Open

Description

@Kroustille

At this moment, godog doesn't support ldflags feature like go build or run commands.

If the application needs to use an external library already compiled, that need to be linked to the application, it's not possible.

The usage of the ldflags flag throws this error:
flag provided but not defined: -ldflags

Activity

  1. l3pp4rd commented on Feb 13, 2019

    @l3pp4rd
    Contributor

    Hi, yes, at the moment, godog binary does not provide build flags, duplicate of #154 this is going to be implemented someday later, for now I suggest to integrate godog within go test command using TestMain as described in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址